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?
Accept text data in body of REST Service exposed
-
- Posts: 130
- Joined: Tue Dec 03, 2013 10:19 pm
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Accept text data in body of REST Service exposed
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