415 Unsupported Media Type error when trying to invoke web API


#1

When I try to invoke the web API endpoints, I get following error:

415 Unsupported Media Type


#2

Hi,

You need to set content-type header to "application/json"