Skip to content

Feature suggestion: allow "manual" (or step-by-step) chaining of the requests #31

Description

@igor-kupczynski

The docs specify how to chain requests:

get('http://httpbin.org/get')
get('http://httpbin.org/cookies', cookies={'url': Response.json()['url']})

or

get('httpbin.org/get', name='first_response')
get('google.com', allow_redirects=False)
get('httpbin.org/cookies', cookies={'url': first_response.json()['url']})

The problem is that you have to:

  1. Select all of the requests
  2. ⌘⇧P and Reuqester: Run Requests Serially.

If you want to run them one-by-one you'll get:
image

I think I understand why is the -- env is per run if you run the requests one by one then the second run has a separate env, without the Response.

It would be nice to allow some form of persistent for such exploratory runs when you just prefer to run the script one-by-one. What do you think?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions