When axios sends a request header, the API requests twice and returns 200 and 302 respectively.

when axios sends a request header, the API requests twice, returning 200 and 302, respectively. How to solve this problem?

Mar.10,2021

can you post the network? if you describe it like this, you can only guess the problem.


are you calling across domains? Cross-domain will have one more OPTIONS request

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