method: "POST",
headers: { 'Content-Type': 'application/json' },
url: "http://mobiliser.mob1.stackmob.com/api/0/flirtwithme/message",
data: '{"body":"just got auth working","sender":"pscheffer","recipient":"pscheffer"}',
success: success,
failure: failure
});
function success (data) {
Titanium.API.info(data);
alert(data);
}
function failure (data) {
Titanium.API.info(data);
alert(data);
}
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security --allow-file-access-from-files --allow-file-access --user-data-dir=~/chrome-test/ spec/runner.html"