Sending a POST request with content-type as application/json