JSON HTTP trace example

  1. POST /json?action=execute_multiple&username=demouser&password=demouser HTTP/1.1
  2. Host: api.panaceamobile.com
  3. Accept: */*
  4. Connection: keep-alive
  5. Content-Length: 485
  6. Content-Type: application/x-www-form-urlencoded
  7.  
  8. 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
  9.  
  10. HTTP/1.1 200 OK
  11. Date: Thu, 30 Dec 2010 16:44:38 GMT
  12. Server: Apache
  13. Content-Length: 276
  14. Keep-Alive: timeout=15, max=100
  15. Connection: Keep-Alive
  16. Content-Type: text/html; charset=UTF-8
  17.  
  18. {"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"},{"status":1,"message":"Sent","details":"c9c7b088-72d2-49cf-0101-123000000003"}]}