Created
October 10, 2013 00:42
-
-
Save johnnygoodman/6911162 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opening connection to xpenser.com... | |
opened | |
<- "POST /api/v1.0/expense/4926992?tags=TaxedAlready&amount=35.95 HTTP/1.1\r\nAuthorization: Basic am9obm55Lmdvb2RtYW5AZ21haWwuY29tOm1peTk1a2Vr\r\nConnection: close\r\nHost: xpenser.com\r\n\r\n" | |
-> "HTTP/1.1 200 OK\r\n" | |
-> "Server: nginx/1.1.19\r\n" | |
-> "Date: Thu, 10 Oct 2013 00:31:04 GMT\r\n" | |
-> "Content-Type: application/json; charset=utf-8\r\n" | |
-> "Transfer-Encoding: chunked\r\n" | |
-> "Connection: close\r\n" | |
-> "Vary: Authorization, Cookie\r\n" | |
-> "\r\n" | |
-> "1f4\r\n" | |
reading 500 bytes... | |
-> "{\n \"status\": 1,\n \"category\": {\n \"id\": 36679,\n \"name\": \"Advertising\",\n \"extid\": null\n },\n \"receipt\": null,\n \"rawamount\": \"100.00\",\n \"notes\": \"A Test Expense\",\n \"created\": \"2013-10-09 13:17:28\",\n \"modified\": \"2013-10-09 17:31:04\",\n \"amount\": \"100.00\",\n \"date\": \"2013-10-09 15:28:00\",\n \"type\": \"Advertising\",\n \"id\": 4926992,\n \"tags\": [\n {\n \"name\": \"CPAP.com\",\n \"id\": 4107\n }\n ],\n \"report_id\": 297529\n}" | |
read 500 bytes | |
reading 2 bytes... | |
-> "\r\n" | |
read 2 bytes | |
-> "0\r\n" | |
-> "\r\n" | |
Conn close | |
{ | |
"status": 1, | |
"category": { | |
"id": 36679, | |
"name": "Advertising", | |
"extid": null | |
}, | |
"receipt": null, | |
"rawamount": "100.00", | |
"notes": "A Test Expense", | |
"created": "2013-10-09 13:17:28", | |
"modified": "2013-10-09 17:31:04", | |
"amount": "100.00", | |
"date": "2013-10-09 15:28:00", | |
"type": "Advertising", | |
"id": 4926992, | |
"tags": [ | |
{ | |
"name": "CPAP.com", | |
"id": 4107 | |
} | |
], | |
"report_id": 297529 | |
} | |
200 | |
OK | |
{"server"=>["nginx/1.1.19"], "date"=>["Thu, 10 Oct 2013 00:31:04 GMT"], "content-type"=>["application/json; charset=utf-8"], "transfer-encoding"=>["chunked"], "connection"=>["close"], "vary"=>["Authorization, Cookie"]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment