httpbook icon indicating copy to clipboard operation
httpbook copied to clipboard

Issue with Global Defined Variables in httpbook

Open kscarr73 opened this issue 3 months ago • 1 comments

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.

kscarr73 avatar Oct 31 '24 11:10 kscarr73