Advertisement
Guest User

Untitled

a guest
Nov 18th, 2014
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. curl -v -H "Content-Type: application/json" -d '{"period":"today"}' http://104.131.54.230:1337/ | json
  2. * Hostname was NOT found in DNS cache
  3. * Trying 104.131.54.230...
  4. % Total % Received % Xferd Average Speed Time Time Time Current
  5. Dload Upload Total Spent Left Speed
  6. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 104.131.54.230 (104.131.54.230) port 1337 (#0)
  7. > POST / HTTP/1.1
  8. > User-Agent: curl/7.37.1
  9. > Host: 104.131.54.230:1337
  10. > Accept: */*
  11. > Content-Type: application/json
  12. > Content-Length: 18
  13. >
  14. } [data not shown]
  15. * upload completely sent off: 18 out of 18 bytes
  16. < HTTP/1.1 200 OK
  17. < Date: Wed, 19 Nov 2014 03:13:08 GMT
  18. < Content-Type: application/json; charset=utf-8
  19. < Content-Length: 123
  20. * Server Jetty(7.6.8.v20121106) is not blacklisted
  21. < Server: Jetty(7.6.8.v20121106)
  22. <
  23. { [data not shown]
  24. 100 141 100 123 100 18 600 87 --:--:-- --:--:-- --:--:-- 602
  25. * Connection #0 to host 104.131.54.230 left intact
  26. [
  27. {
  28. "end": 5,
  29. "start": 0,
  30. "value": {
  31. "type": "value",
  32. "value": "2014-11-19T00:00:00.000Z",
  33. "grain": "day"
  34. },
  35. "body": "today",
  36. "dim": "time"
  37. }
  38. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement