Created
January 2, 2014 16:24
-
-
Save johnnygoodman/8221803 to your computer and use it in GitHub Desktop.
Working Xpenser POST
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
opened | |
<- "POST /api/v1.0/expense?q=Freight%2010.00%20Fedex%20Refund%20%23%20%23TaxNotPaid-Exempt&d=2013-12-04%2012%3A00%3A00 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, 02 Jan 2014 16:11:21 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" | |
-> "23a\r\n" | |
reading 570 bytes... | |
-> "{\n \"status\": 1,\n \"category\": {\n \"name\": \"Freight\",\n \"parent\": null,\n \"id\": 36675\n },\n \"receipt\": null,\n \"rawamount\": \"10.00\",\n \"notes\": \"Fedex Refund\",\n \"created\": \"2014-01-02 08:11:21\",\n \"modified\": \"2014-01-02 08:11:21\",\n \"amount\": \"10.00\",\n \"date\": \"2013-12-04 10:00:00\",\n \"type\": \"Freight\",\n \"id\": 5187572,\n \"tags\": [\n {\n \"name\": \"TaxNotPaid-Exempt\",\n \"id\": 220323\n },\n {\n \"name\": \"\",\n \"id\": 222725\n }\n ],\n \"report_id\": 315188\n}" | |
read 570 bytes | |
reading 2 bytes... | |
-> "\r\n" | |
read 2 bytes | |
-> "0\r\n" | |
-> "\r\n" | |
Conn close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment