POST API call return ERROR 415

Hi,

I am trying to do a simple update to issue field such as summery.
I use PUT method and getting error 415.
when requesting data for the same issue with GET it is working
URL:
https://ies-valor-jira.ies.mentorg.com/rest/api/2/issue/SF-6831/

Method:
PUT

Body:
{ “fields”: {“summary”: “new summary”} }

would be great to know why I am getting this error.

Hi nireyal,

You have to provide a json payload but also have to tell the server that you are sending one. Currently you are telling the server that your payload (content-type) is of type text/html.

Set it to application/json

Regards,
Christian