Generic HTTP API Affiliate Program Example

  1. --- HTTP Request trace ---

  2. GET /json?action=affiliate_register_user&username=demouser&password=password&[email protected]&phone_number=0799999998&user_ip_address=61.88.1.255&dialling_code=27 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":{"user_id":"1","username":"test","message":"User created successfully."}}