Hi All - is there a way to send the response in json using Pega HTTP service or only REST service be used for this? If possible with HTTP Service then how because under response tab of HTTP service rule Map from field doesn't have JSON option as it have in REST service. I am trying to use exiting HTTP service which was not sending any response till now but due to some recent changes we now need to send the Json response to the consumer application.
HTTP supports XML and string format only as per help. That means we need to use REST in order to go for JSON.
Use HTTP services rules when your applications need to process service requests that contain XML or other string data (text) without the need to comply with messaging standards or protocols like SOAP. You can also use HTTP service rules to process HTML POST data submitted to PRPC from a form.