DEV Community

Cover image for One VS code extension you should use when building and testing apis
2

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.

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay