A generic HTTP request illustrating the use and response of route_check_price

  1. --- HTTP Request trace ---
  2. GET /json?action=route_check_price&username=demo&password=demo&to=27111234567 HTTP/1.1
  3. Host: smsapi.totalsend.com
  4. Accept: */*
  5. Connection: keep-alive
  6. HTTP/1.1 200 OK
  7. Date: Wed, 09 Mar 2011 18:35:56 GMT
  8. Server: Apache
  9. Content-Length: 85
  10. Keep-Alive: timeout=15, max=100
  11. Connection: Keep-Alive
  12. Content-Type: text/html; charset=UTF-8
  13. {"status":0,"message":"OK","details":{"cost":0.2,"status":64,"reason":"64: Routed OK"}}