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.  
  7. HTTP/1.1 200 OK
  8. Date: Wed, 09 Mar 2011 18:35:56 GMT
  9. Server: Apache
  10. Content-Length: 85
  11. Keep-Alive: timeout=15, max=100
  12. Connection: Keep-Alive
  13. Content-Type: text/html; charset=UTF-8
  14.  
  15. {"status":0,"message":"OK","details":{"cost":0.2,"status":64,"reason":"64: Routed OK"}}