Something went wrong. Try again.
Something went wrong. Try again.
265 B · 12 lines
at main
12345678910111213### post-request scriptGET https://jsonplaceholder.typicode.com/posts/3
# @lang=lua> {%local body = vim.json.decode(response.body)client.global.set("postId", body.id)%}
### run request with variable
GET https://jsonplaceholder.typicode.com/posts/{{postId}}