JSON HTTP trace example

  1. POST /json?action=execute_multiple&username=demouser&password=demouser HTTP/1.1
  2. Host: smsapi.totalsend.com
  3. Accept: */*
  4. Connection: keep-alive
  5. Content-Length: 485
  6. Content-Type: application/x-www-form-urlencoded
  7. data=%5B%7B%22command%22%3A%22message_send%22%2C%22params%22%3A%7B%22to%22%3A%2227111234567%22%2C%22text%22%3A%22Message+1%22%2C%22from%22%3A%2227111234567%22%7D%7D%2C%7B%22command%22%3A%22message_send%22%2C%22params%22%3A%7B%22to%22%3A%2227111234568%22%2C%22text%22%3A%22Message+2%22%2C%22from%22%3A%2227111234568%22%7D%7D%2C%7B%22command%22%3A%22message_send%22%2C%22params%22%3A%7B%22to%22%3A%2227111234569%22%2C%22text%22%3A%22Message+3%22%2C%22from%22%3A%2227111234569%22%7D%7D%5D
  8. HTTP/1.1 200 OK
  9. Date: Thu, 30 Dec 2010 16:44:38 GMT
  10. Server: Apache
  11. Content-Length: 276
  12. Keep-Alive: timeout=15, max=100
  13. Connection: Keep-Alive
  14. Content-Type: text/html; charset=UTF-8
  15. {"status":0,"message":"OK","details":[{"status":1,"message":"Sent","details":"ee83206d-7794-41f3-0109-123000000003"},{"status":1,"message":"Sent","details":"f5d61318-5b4b-419a-0100-123000000003