Question
Coforge DPA private limited
AU
Last activity: 14 May 2021 22:49 EDT
REST service response is an array, how to map in connect-REST rule Pega 8.5 version
Hi,
I am doing connect-REST integration backed by JSON....Method is POST
thing is the response is coming as an array with no root element.. example
[
{
"CreatedBy": null
},
{
"FileName": null
}
]
Now to map the response I am using response_POST page but if I do that I am getting below error:
"the HTTP response code of 500 indicated a server error. The response data may contain a reason. // The body of the service's response, which is set up for mapping in the Connector rule, was empty for this service call."
Can someone please suggest me here.
Thanks in advance.