Home > front end >  How axios get request to set the content-type set?
How axios get request to set the content-type set?

Time:09-25


Send, the console error 400, there is no set type to checked the X-ray WWW - form - urlencoded, but don't know how to write?

CodePudding user response:

A problem on your interceptor configuration inside, config. The headers [' the content-type ']='application/json;

CodePudding user response:

reference 1/f, three dozen soy sauce response:
a question on your interceptor configuration inside, config. The headers [' the content-type ']='application/json.
again see you ha ha
  • Related