Hey devs, I was looking for a tool to get all APIs organized in one place. I used Postman, then Thunder Client, all looks "not that bad". The main problem, aside from pricing and UX, was that you had to define endpoints manually.
I didn't like this approach because, in the end, I had already written my definitions in code with schema types and interfaces, so why repeat myself? This question led me to build the WatchAPI Client extension that solves just that.
Here how it works:
- You install it from open-vsx or marketplace
- Open it and press sync, and here we go.
Everything needed been extracted, now how we proceed?
I would check the rest-client.env.json file that been created, to see if the configuration of baseUrl is correct, by default it's: port 3000.
Now to get authToken we usually run the login endpoint, something like this:
One thing to note you need REST Client extension to execute endpoints, and better syntax highlighting.
From here, you add the token to our: rest-client.env.json and you can enjoy debugging.
If you have any questions or issues, feel free to open a ticket below. Thank you.


Top comments (0)