Forum Discussion

debchat1955's avatar
debchat1955
Occasional Contributor
7 years ago

Support of Content-Type: application/vnd.api+json ?

Please see enclosed. Not sure why I get this error. I tried upgrading from 5.3 to 5.4. Please check and advise. Thank you

 

As there has not been any response yet to this forum entry, I want to attach a case of successful update from another colleague for the same service, and by using same version of SOAPui.

 

So, the question is - why it works in one case and why it fails in another case?

 

OK, there is some update from our Developers - 

The Media​/Content type got changed for all the services from "application/json" to "application/vnd.api+json​".

 

Can you please advise if the above is supported by SOAPui open source version?

 

When I click on “HTML” Tab in SoapUI Tool, Got” unsupported content-type [application/vnd.api+json]” message.

 

When I use unix "curl" command, I can get POST and PATCH to work 

 

curl -i -X POST -H 'Content-Type: application/vnd.api+json' -d '{"name": "DC1NEW"}'

http://cal-app2-dev:8100/kws-rest/v4/surveys

 

curl -i -X PATCH -H 'Content-Type: application/vnd.api+json' -d '{"name": "DC1NEW-revised"}'

http://cal-app2-dev:8100/kws-rest/v4/surveys/5000979921

No RepliesBe the first to reply