Skip to content

Support for setting variables based on response data #207

Description

@sarumont

It would be nice to be able to set variables for a future request (or cd to a path) based on the previous response data. Something like JSONpath syntax would be simple yet effective:

Response body:

{
  "id": "17f96808-886a-452e-bbc7-956d27c6cd9d",
  ...
}

> fooId=$.id

> cd $.id

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions