I use DHC by Reslet a Chrome extension, version 1.2.
When I create a first POST request to create an entity If I want to access to this request in a another request (repository feature) I cannot access the response.
I have the same problem with DELETE requests, but not for GET requests
I'm not sure to correctly understand what you want to do but I'll try to give you an answer.
Imagine I want to execute the following:
/companies
and get its identifier from the responseTo do that I need to save the first request. I save it with the name 1 - Add company
under the project Company project
and the service CRUD service
:
Company project
CRUD service
1 - Add company
Here is what I can use within the second request within its URL field:
contactsapi.apispark.net/v1/companies/{"Company project"
."CRUD scenario"."1 - Add company".response.body.id}
This way DHC will use the value of the id
field in the response body from the latest executed 1 - Add company
request in the history.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With