Skip to content

use value from response in the following request? #99

Description

@Mohamed-Fathy-Salah

Is it possible to fetch a value from a response and use it in the following request?
for example:

https://localhost:3000
Content-Type: application/json;
--
--
# create item
# response is { "itemId": "asdfasdf"}
POST /item
{ "data": "data"}
var1 = res.itemId 
-- 
# update item
PUT /item/:var1
{ "data": "blah"}

If yes, can you please tell me how?
Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions