Accept text data in body of REST Service exposed

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
bondicoffee
Posts: 130
Joined: Tue Dec 03, 2013 10:19 pm

Accept text data in body of REST Service exposed

Post by bondicoffee »

Hi,

I am in the process of exposing a service created in Awareim to a third party application which can send data in the body of service in text format and not as JSON format.

While testing the service created in Postman, I am getting an error when I change the Content-Type parameter in the header of service request from 'application/json' to 'text/plain'.

Can someone help me how can I fix this in v8.2/v8.3 beta?
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Accept text data in body of REST Service exposed

Post by aware_support »

Aware IM does not accept plain text content type when exposing services. This cannot be fixed. A third party service consuming the service should use application/json or text/xml
Aware IM Support Team
Post Reply