Header content-type

When posting data to the server, the server has to know how to work with the data you send. By passing an extra header specifing the "content-type" to be set to "application/json" the system knows how to handle your incoming data