Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -v -H "Content-Type: application/json" -d '{"period":"today"}' http://104.131.54.230:1337/ | json
- * Hostname was NOT found in DNS cache
- * Trying 104.131.54.230...
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 104.131.54.230 (104.131.54.230) port 1337 (#0)
- > POST / HTTP/1.1
- > User-Agent: curl/7.37.1
- > Host: 104.131.54.230:1337
- > Accept: */*
- > Content-Type: application/json
- > Content-Length: 18
- >
- } [data not shown]
- * upload completely sent off: 18 out of 18 bytes
- < HTTP/1.1 200 OK
- < Date: Wed, 19 Nov 2014 03:13:08 GMT
- < Content-Type: application/json; charset=utf-8
- < Content-Length: 123
- * Server Jetty(7.6.8.v20121106) is not blacklisted
- < Server: Jetty(7.6.8.v20121106)
- <
- { [data not shown]
- 100 141 100 123 100 18 600 87 --:--:-- --:--:-- --:--:-- 602
- * Connection #0 to host 104.131.54.230 left intact
- [
- {
- "end": 5,
- "start": 0,
- "value": {
- "type": "value",
- "value": "2014-11-19T00:00:00.000Z",
- "grain": "day"
- },
- "body": "today",
- "dim": "time"
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement