Language: EN

realizar-peticiones-http-con-postman

Postman, make HTTP requests and test your REST APIs

Today we are going to look at Postman, one of those applications that should not be missing from our toolkit, and that has become so popular that it is almost a standard tool for web developers.

The main function of Postman is simply to make HTTP requests (GET, POST, DELETE, UPDATE…) to an address of our interest. This is very useful when interacting with Web APIs and even for testing our own developments.

Originally created as a Chrome extension. However, there are now also stand-alone applications for Windows, Linux, and Mac.

Postman allows us to modify all the parameters of the request. Thus, we can edit the request’s header. We can also edit the content, and add fields in Json, XML, or plain text, among others.

postman

Postman is very useful and interesting when it comes to testing our REST APIs. We can test all the functionalities of our API without having to write a single line of code. This represents a great time saver at all stages of development.

It is also very useful when connecting to third-party APIs, for example in IoT. With the use of a web browser, we can record the requests made, and then use Postman to emulate the signals. When we are satisfied with the result, we can start coding our own interface.

Of course, it has many more interesting features, such as including tests, creating variables, or creating test collections. It is even possible to automate tests in combination with Jenkins.

Postman is free, although there is a Premium version that adds additional features. The main one is to provide a collaborative environment to store and share Postman configurations with our team.

In summary, a simple but very powerful application, which has become a common tool for any web developer. It is available at https://www.getpostman.com/.