Need to accept different response formats with the same Service REST
Hi team,
We have a requirement where we need to set up a REST service that can accept either JSON or XML format request. This should be based on “content-type” field in the header. content-type can either be “application/xml” or “application/json”. This will help determine the format of the request.
Is there a way for Pega to support both JSON and XML requests using the same Service REST in a dynamic manner based on the header value.