when a normal http request is made, the default form is generally formatted like this
FormData
Field 1key= Field 1Value
Field 2key= Field 2Value
the data format of the array type may be
FormData
Array name 0x0 element field 1Value
Array name 0x0 element field 2Value
Array name 1"0 element field 1Value
Array name 1"0 element field 2Value
that is, the keyValue format using the & symbol and =
and other more complex data formats are indexed by [].
but this format is not very readable, so why not use the Json format, which is clearer and more readable? What are the reasons for using this format? Is it because of the default format of the http protocol? Or is it a historical question? Or is it the behavior of the browser?