The process should be as follows: 1) Use HTTP POST to pass username and password parameters to login URL 2) A token string is returned if login was successful 3) The token is then used as Basic Authentication using HTTP GET to retrieve JSON from different API URL
Step 1 and 2 are normal and simple, step 3 is unusual, basic authentication is rarely used to pass tokens, they are normally sent as parameters with the request or handled as cookies. You really need a proper log in your code so you can see exactly what commands are sent, and the responses received. Look at the Browser demo, which supports authentication and cookies. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be