Copy the response from one request to another request

Hi, I have POST request which generates the applicationID as repsonse. and I have to use this applciationID for further requests.

POST request which generates the applicationID as shown below.

{
    "applicationId": "c891519a-afbd-4e7d-9d08-9084cc82c465",
    
}

Now I have to pass this applcitionID in my subsequent requests like below

https://qam.moneymart.ca/api/mobile/loanapplications/c891519a-afbd-4e7d-9d08-9084cc82c465/verifications/phone

So is there a way where I can store this applciationID and use it for all subsequent requests?

@vardhan0702 Welcome to the community :partying_face:

This is quite frequently discussed topic in the forum and you can see one such here.

Just you need to learn more about the scope of variables from here. You can use global, environment, collection or local variable based on your need.

Also here you need to access the variable name in the URL instead of body unlike the above example.

Hope this is helpful. Please let us know if you have any other challenges in achieving this chaining of requests :slight_smile:

2 Likes