Want to save the raw JASON request from REST API POST method in Pega 8.7.1
Hi All,
I've a requirement to log the Raw Request JASON for Rest-Service POST method in BLOB to be sent to external team if case of any failure scenario.
To achieve this, I tried with both SERIALIZE and @(Pega-RULES:Page).pxConvertPageToString(tools, mystegpage,"JASON") but in both the scenarios I'm getting the JASON with the pxObjClasses. But I want to get the raw format of JASON(the one we get in pyRequestData). Any suggestions how I can achieve it. I'm in Pega 8.7.1 version.
Thanks and regards,
Debasmita