Skip to content

Issue with Global Defined Variables in httpbook #135

@kscarr73

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.

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