added content-type header to the post request