When it comes to restful API's we have one (amongst others) annoying problem: testing the endpoints.
So how do you do this? Not all API's have tools made by their teams to test them. The same is true for your own one.
And here goes a tip, two tools to help you, the first one your computer probably has one, the second one is a web tool.
Curl
It's a terminal tool for transferring data with URL syntax in different protocols with a myriad of options, open your terminal and type curl -h to see the magic.Why is it here? Why is it good?
- Easy to use
- Json friendly
- Command line tool!
- May become cumbersome to type
- Not any user friendly
Hurl.it
A free HTTP request tool, similar to curl but works in the browser.Why is it good?
- User friendly
- Free
- Works in the browser
- Web only
- HTTP only