Axios request API. If there are no parameters, trouble Vue partners to have a look.

clipboard.png

clipboard.png

A login request, the username parameter and password parameter have been set
two parameters of username and password are not seen in the chrome browser to submit, what is the reason?

Mar.01,2021

your options did not succeed, so there was no post request. Your console error should be that the server side does not allow cross-domain access


requires the server side to allow option requests, and allows cross-domain


this is a cross-domain problem. It is recommended to use bird: https://bird.ioliu.cn/

.
Menu