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

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-1b3a638-345bd.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-1b3a638-345bd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?