Upgrade to Pro — share decks privately, control downloads, hide ads and more …

HTTP Debugging

HTTP Debugging

SmashingConf Oxford talk with Curl, Ngrok and Charles Proxy as the main tools mentioned

Lorna Mitchell

March 17, 2015
Tweet

More Decks by Lorna Mitchell

Other Decks in Technology

Transcript

  1. Fault-Finding HTTP ... is just like fault-finding elsewhere in a

    web project Seeing the problem is usually harder than fixing it
  2. Lornajane's Curl Cheat Sheet -X [verb] The verb to use

    for this request -H "[Header :value]" A header to send. Use as many times as needed -d [value] Body data as a string, a filename, or a key/value pair -s The "silent" switch, to hide curl's progress meter when piping the output to something else -c [filename] Where to store any incoming cookies for future use -b [filename] Cookies to send with the request -v to show headers for both request and response
  3. Paw

  4. Other Excellent Tools • Postman (Chrome) http://getpostman.com/ • RESTClient http://restclient.net/

    • Paw http://luckymarmot.com/paw • Fiddler http://www.telerik.com/fiddler