Answer the question
In order to leave comments, you need to log in
Why do WebStorm and VScode send requests differently?
Hello.
I had a problem when starting the project and trying to log in.
When launching a project in webstorm, a request is sent during authorization and in the response headers content type = application/json.
While if you run the project in vscode. The request is sent with content type = text/html
I don't understand why this happens and how to fix it?
Answer the question
In order to leave comments, you need to log in
No code no answer. Fortune-telling on the coffee grounds, I can answer that you did not explicitly set the content type in your code, so the IDE is trying to guess.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question