Need Assistance: Fetching Response from Pipedream to Postman API

I’m currently utilizing Pipedream as my bridge URL to connect my API and fetch values on the callback URL. While I can see the values being returned in Pipedream, I’m encountering an issue when trying to retrieve the response body from Pipedream to my API.

Despite receiving a success response in Postman, I’m unable to access the response body. Could someone please advise on the best approach to fetch the response body from Pipedream and integrate it into my API?

Your assistance would be greatly appreciated.

Hi Bala,

How is Pipedream returning the callback values to your API? Is Pipedream issuing a new HTTP request to your API or is it responding and returning the callback values in the JSON body?

Could you share an example of a flow of the routes, e.g.

Request flow:

Your API —HTTP POST—> Pipedream —HTTP POST—> 3rd party API

  • Your API initiates an HTTP POST request to Pipedream.
  • Pipedream then forwards this request as an HTTP POST to a third-party API.

Response flow:

3rd party API —HTTP response body—> Pipedream —HTTP response body—> Your API

  • The third-party API sends the HTTP response (including the response body) back to Pipedream.
  • Pipedream processes this response and then forwards the HTTP response body to your API.
1 Like

Hi Andrew,

I have a api which returns response on the callback url. In this scenario, pipedream acts as my callback and returns response. Let me give an example

WORKFLOW:
The main url is https://dev.abdm.gov.in/hiecm/api/v3/token/generate-token. Then I use PATCH method to bridge pipedream url to fetch response as callback url. If the main url runs successfully it triggers the callback and get response from the third party via pipedream url. The callback url for my pipedream is https://db4d9aaf102190d83b4e2f94f3358f09.m.pipedream.net/api/v3/hip/token/on-generate-token.

How can I retrieve the response that has been returned in this pipedream url…?

3rd party API —HTTP response body—> Pipedream —HTTP response body—> Your API

  • The third-party API sends the HTTP response (including the response body) back to Pipedream.
  • Pipedream processes this response and then forwards the HTTP response body to your API.

And also Kindly tell me how can I process this response and forwards the response to my API as per the above flow you mentioned.