The data sent using the ajax post request is transcoded by ASCII

use the post method of axios to submit data, and all the data received by the backend are transcoded by ASCII , resulting in data verification failure.

frontend request:

clipboard.png

:


:

networkjsonjsonJSON.stringify


clipboard.png


clipboard.png

Mar.09,2021

contentType: "application/json"


this is not ascii transcoding, but url_encode, the contentType you set is so it will become like this. It should be fine if you change it in the way of the first floor

Menu