DEV Community

Cover image for One VS code extension you should use when building and testing apis
Ralf 💥🔥☄️
Ralf 💥🔥☄️

Posted on

One VS code extension you should use when building and testing apis

https://marketplace.visualstudio.com/items?itemName=humao.rest-client

This simple extension made testing and building apis a lot easier for me. Before I found it, I was using Postman to test my apis. I wasn't very satisfied with the workflow...

Rest Client improved my worklflow significantly:

  • No more context switch. Easily test your api endpoints inside of vs code.
  • Define all your testable endpoints in one file No more searching and configuring of endpoints
  • check your rest api endpoints config into git You can check the file that contains your api endpoints into git. So every other developer that checks out the repository has instant access. No more sharing of postman config files.

Easily define your endpoints like this and hit "send request". Done.

POST https://example.com/comments HTTP/1.1
content-type: application/json

{
    "name": "sample",
    "time": "Wed, 21 Oct 2015 18:27:50 GMT"
}

That's it for today.
I share more quick tips about web development on twitter. So make sure to follow me there to stay up to date.

Top comments (0)