sexta-feira, 14 de novembro de 2014

[Quicktips] Tools for web dev - curl e hurl.it

Often developers ask others about tools to solve or help solving problems of all kinds and sizes.

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!
Why not?
  • 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
 Why not?
  • Web only
  • HTTP only
Check it here

Nenhum comentário: