Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var xhr = Titanium.Network.createHTTPClient();
- // Set the property on http client, BEFORE OPEN
- xhr.username = "ausername";
- xhr.password = "apassword@1234";
- xhr.domain = "adomain";
- xhr.setRequestHeader('Content-Type', "application/json; charset=utf-8");
Add Comment
Please, Sign In to add comment