vscode-restclient
vscode-restclient copied to clipboard
if there is an array in response,could I handle it as a loop?
# @name query
GET http://example.com/query
###
@eachid = {{query.response.body.$.data[*]}}
POST http://example.com/post
Content-Type: application/json
{
"id":"{{eachid}}"
}
if http://example.com/query response like
{
"data":["1","2","3"]
}
is there a way could post http://example.com/post three times?
@unclosable currently this is not supported
Related: https://github.com/Huachao/vscode-restclient/issues/906