Skip to content

Issue with Global Defined Variables in httpbook #135

Description

@kscarr73

I have an http file that I am using in httpbook.

I am trying to use the testing variable in a POST call.

/*
# Testing

Validate some calls
*/
@testing = this
###

GET {{defaultUrl}}/records/
###

POST {{defaultUrl}}/records

{
    "testing": "{{testing}}"
}

If I run in the Text Editor, the call works without problem. If I run the cell in httpbook, it claims the testing variable doesn't exist.

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