what is this options request for?
now it is in this options that there is a cross-domain error
and then there is no post request
normally, there is an options request followed by a post request
what is this options request for?
now it is in this options that there is a cross-domain error
and then there is no post request
normally, there is an options request followed by a post request
OPTIONS
requests for pre-checking before. post
request does not need to be sent. need to add the header on your error message at the back end.
Previous: Wechat web page authorization login code how to obtain?
Next: How to use the vpn network of virtual machines under Mac?
after creating the axios instance code, the post,put, is set and the common request header application x-www-form-urlencoded;charset=UTF-8. is set. The request using post carries a custom-set request header, but after using put, the request does not car...
I now have an array of objects, such as the following format: let objArray = [ {name: Amy , age: n , age: 18}, {name: Amy , age: n , age: 18}, {name: Amy , age: n , age: 18}, {name: Amy , age: n , age: 18} ] I u...