Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (406)
Viewing all articles
Browse latest Browse all 2

XHR giving me a 404 and 406 in Titanium, fine in web browser

$
0
0

Title says it all. I'm using an API, and for some reason, I'm getting a 406 (if I put the parameters in the URL itself) or a 404 if I put them in the xhr.send. Anyone know why I would get this, and how to fix? Its pretty simple, its just a page that returns a json response

xhr.open("GET","http://api.sqoot.com/v1/offers/");
 
    xhr.send({"location":"33.748995%2C-84.387982"});

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles



Latest Images