Skip to content

Instantly share code, notes, and snippets.

@zdne
Created July 31, 2013 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdne/6122576 to your computer and use it in GitHub Desktop.
Save zdne/6122576 to your computer and use it in GitHub Desktop.
cURL trace parser output

POST /shopping-cart

  • Request

    • Headers

        User-Agent:curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5
        Host:curltraceparser.apiary.io
        Accept:*/*
        Content-Type:application/json
        Content-Length:39
      
    • Body

        { "product":"1AB23ORM", "quantity": 2 }
      
  • Response 201

    • Headers

        Content-Type:application/json
        Date:Wed, 31 Jul 2013 14:39:26 GMT
        X-Apiary-Ratelimit-Limit:120
        X-Apiary-Ratelimit-Remaining:118
        Content-Length:50
        Connection:keep-alive
      
    • Body

        { "status": "created", "url": "/shopping-cart/2" }.md
      
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment