Hi Team,
In one of our projects, we have a requirement to implement a dynamic REST API.
The first APIs response will give us the URL Path for the second API. The second API takes:
URL Path: is dynamic (output from another API) - we have achieved this by customizing the request with help of OnBeforeRequest.
HTTP Method: PUT
Headers: server-side encryption, content-type
Body: JSON structure
ISSUE: We are getting a 403 Forbidden error.
For OnBeforeRequest we have the RequestText field which gets are Body data & this has the data type as Text. Our API expects the body data of the type JSON Structure.
We are restricted to edit the HTTPRequest structure we have for OnBeforeRequest since we can have multiple API methods there.
Can anyone help me with a workaround that can resolve this issue?
Thanking you in advance.
Regards,
Neha Agrawal