menu

arrow_back Why do WebStorm and VScode send requests differently?

by
1 vote
Hi.
I have a problem when I start a project and try to log in.
When you run the project in webstorm, it sends a request and the response headers content type = application/json.
Whereas if you run the project in vscode. The request is sent with content type = text/html
I do not understand why this happens and how to fix it?

1 comment

Why do you think that by deleting the previous question and asking the exact same pointless question you will get an answer?

1 Answer

by
0 votes
No code, no answer. Guessing by coffee grounds I can answer that you have not explicitly set the content type in your code, so the IDE is trying to guess.