Do you do some API testing? some http stuff? If you didn’t know these tools before, you are going to be very happy today!
HTTPie is a command-line tool for Windows/Mac/Linux written in Python, is something like a simpler curl, you type “http” followed by an URL and the magic starts, you can see the answer, headers, parameters, request type…
Better we see an example, let’s try Twitter’s API:
oops! it seems we have a problem with authentication 😉
Then let’s test Google Maps’ API:
Better luck now!
You have a lot of examples at httpie’s github and the accepted parameters documentation.
HTTPie is OK for a lot of jobs, but for an intense API testing our best friend is Postman, an awesome tool to use right into Google Chrome.
Postman is a Google Chrome extension that will help us with APIs, saving request history, selecting request type, authentification, headers, files… really easy to use and powerful.
This is an example of use, at the right we have the form where we set the options for the next request and at the left the request history.
If you know any other tool to test APIs write a comment! 😉