Closed davidsoles closed 1 month ago
I can't give you a general recommendation. Depending on the service, a different structure may make sense. I have sometimes structured the files like CRUD (PUT => GET => PATCH, => DELETE) and executed them one after the other. In some cases, however, a create a test http file containing only one endpoint with several tests. I'm a fan of small files, so I avoid packing lots of requests into one file.
My current setup can be described as follows:
HTTPYAC_ENV
I globally inject the necessary variables for the different environments (dev,prod). I can quickly open a window at any time and send a request against a system in which I select the respective environment.
I love this vscode extension, thanks. I was wondering, what is the best practice in terms of number of rest endpoints that can be added to a single
http
file? Is it better to have onehttp
file per feature? 🤔I'm just trying to keep things organized.