Automatically run dependent queries #483
-
Using the following file as an example: ### Get token (simulating login)
# @name login
POST https://httpbin.org/post HTTP/1.1
Content-Type: application/json
{
"username": "demo",
"password": "demo123",
"access_token": "asdfasdfasdfasdf"
}
### Access protected resource with Bearer token
GET https://httpbin.org/bearer HTTP/1.1
Authorization: Bearer {{login.response.body.json.access_token}} If you run the second request using
The warning makes sense because the first request did not execute so the value is not set, but is it possible to configure Kulala to automatically run dependent queries in such cases? If I'm not mistaken, the only way to do it currently is to manually run the first request before running the second one? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
You can |
Beta Was this translation helpful? Give feedback.
You can
send all
or visually select both requests and press<CR>
.Automatically running dependent requests....hm, interesting idea. I will think about it.