Steps to Reproduce:
.rest or .http filePotential solution:
Create an array of HTTP requests based on REST keywords (GET, POST, etc...) and execute each one after another.
Tasks:
@Odonno , one problem for this suggestion now is that, since I preview the response in the same pane, if we implement this, we need to preserve the preview result for each issued request.
@Huachao You mean, one pane for each request ? Or one pane that contains all requests one after another ?
@Odonno I am so sorry that I didn't express myself clearly. I mean how to display the response(s) in the scenario you've mentioned that all the requests all in the same file, do we need to render each response of the requests in a separate response preview pane, or show all the responses in the same pane, just append the response result?
I think, for a consistency purpose, as we have all of our requests in the same file, we need all responses in the same file too.
I started a list of tasks for this issue, see my first comment.
@Odonno , thanks so much :+1:
@Odonno I've already supported multiple requests in the same file which is separated by delimiter ###, and you can simply kick off the request just placing the cursor anywhere between the delimiters. You can try the latest version 0.10.1, and you can view the usage details in README.md. Other tasks will be done later.
@Huachao Nice ! Thanks for the info. I will try it as soon as I can. Good job.
Most helpful comment
@Odonno I've already supported multiple requests in the same file which is separated by delimiter
###, and you can simply kick off the request just placing the cursor anywhere between the delimiters. You can try the latest version 0.10.1, and you can view the usage details inREADME.md. Other tasks will be done later.