blacklight / nvim-http

An HTTP client for neovim inspired by vscode-restclient and the IntelliJ HTTP client
MIT License
87 stars 5 forks source link

Sequential requests: token then normal request #3

Open JPFrancoia opened 11 months ago

JPFrancoia commented 11 months ago

Hi :wave:

Just have one question, couldn't find the answer in the doc: is it possible to send two requests one after the other, but use the response from the first one to send the second one?

Typically I would need that for getting a token from an endpoint, then using this token to query another endpoint. But I couldn't see a way to extract the fields of the first request