Can you tell what type of parameter is in the Chrome browser XHR?

Project transformation, there is no interface document at the back end, so you can only look at the interface to write, but the parameters do not know what format to use, whether it is a simple object, FormData, or json, and so on. Can you see it through the browser?


< H2 > form-data < / H2 >

form-data

Object:

clipboard.png

form-dataobjectjson~

json:


clipboard.png

object



form


json


query string parameters : is submitted by carrying parameters in the URL. This is the parameter of $_ GET in pgp. (GET)

multipart/form-data : when uploading files using a form, you must make the enctype of the < form > form equal to multipart/form-data. This object is created through the (POST) created by the form

application/x-www-form-urlencoded : native < form > form. If the enctype property is not set, the data will eventually be submitted as application/x-www-form-urlencoded (POST)

application/json : used to tell the server that the message body is a serialized JSON string. Due to the popularity of the JSON specification, all major browsers except the lower version of IE natively support JSON.stringify, server language and have functions to deal with JSON, so there will be no trouble using JSON. (POST)

text/xml : this is ignored. You usually don't encounter it. (POST)


request content-type

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beb76f-30fc4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beb76f-30fc4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?