AnsweredAssumed Answered

POST request body modification

Question asked by Pramod.Talekar on Dec 12, 2018
Latest reply on Dec 12, 2018 by dasjo02

Hello, 

 

If the incoming request method to proxy url (created through CA API Gateway) is GET, then I can play around with the context variables using ${request.http.parameters}. However if the request type is POST and I need to edit the request body and add some extra content (e.g. date) before passing on to the back-end service, then how to do it? I tried using ${request.http.body}/${request.body} etc. but while debugging it always showed null.

Please suggest.

Outcomes