Fixed bug with missing content-type header

- Added content-type HTTP header in POST requests.