Fixed the issue with POST requests, by adding Content-Type header