Vijayata
15 years agoOccasional Contributor
Appending Parameter to REST GET Request
Hi All,
The scenario for me is: I have a First GET REST Request, Which gives me response in json, which can be seen/got in XML format in Soapui. Till here it is fine. But I want one of the response parameter to be appended in second/subsequent GET REST Request. For example; I am getting a attribute called 'GUID' from first request, I want to extract it and append in the Request URL of the next/second REST Request.
For reference (the scenario):
1) First GET REST Request: "http://localhost:8080/csm/staticpool".
2) This gives me response in json/xml with the property as "GUID".
3) This GUID should be appended to the next GET REST Request defined with the endpoint and request url i.e. "http://localhost:8080/csm/staticpool" this is defined GET request (Endpoint+request url) and i want to append the GUID, and the request will look like: "http://localhost:8080/csm/staticpool/<GUID>"
Thanks in advance,
Bye.
The scenario for me is: I have a First GET REST Request, Which gives me response in json, which can be seen/got in XML format in Soapui. Till here it is fine. But I want one of the response parameter to be appended in second/subsequent GET REST Request. For example; I am getting a attribute called 'GUID' from first request, I want to extract it and append in the Request URL of the next/second REST Request.
For reference (the scenario):
1) First GET REST Request: "http://localhost:8080/csm/staticpool".
2) This gives me response in json/xml with the property as "GUID".
3) This GUID should be appended to the next GET REST Request defined with the endpoint and request url i.e. "http://localhost:8080/csm/staticpool" this is defined GET request (Endpoint+request url) and i want to append the GUID, and the request will look like: "http://localhost:8080/csm/staticpool/<GUID>"
Thanks in advance,
Bye.