Post,qs.stringify transmits data to the background

when qs.stringify sends data to the background, it will convert the original data format into a string, for example, if it is originally a number type, it will be converted into a string. What if you don"t want to change the original data type and use the Form Data delivery method?

Apr.02,2021

qs.stringify generally handles GET request parameters.

The

POST request can pass in an Object.

if it is a POST request for multi-level data, you can only JSON.stringify the inner data first, and then get the data in JSON.parse

at the backend. All parameters passed in

url are passed as strings in the background, which can only be handled manually or automatically by finding a framework

.
Menu