Hello, I am trying to update some records in our application. I am trying to do this with a POST request
These are my configurations for PostMan
Parameters:
authtoken: TOKEN
scope: creatorapi
Status: "MyStatus"
cruteria: Mycriteria
When I tried to execute this, I got a 200 response and the Status field was updated. But in Headers I can see that the Content-Type is
text;charset=UTF-8 .
This is a problem, since my system is expecting a valid Conten-Type. For example "text/plain".
I also tried to add a header "Accept" in the request with the value "text/plain". With no luck.
Locally on my system I got this exception:
org.springframework.http.InvalidMediaTypeException: Invalid mime type "text;charset=UTF-8": does not contain '/'
What can I do to get a valid Content-Type? or what I am doing wrong?
Thanks.