Question · JavaScript and React course · Module 11: Data Fetching and APIs
HTTP POST Method
Which HTTP header informs the server that we are sending data in JSON format?
Answer options
- Content-Type: application/json
- Transfer-Encoding: json
- Data-Format: JSON
- Accept: application/json
You can check the correct answer by solving this task in the CodeWorlds game.