开发者

Iphone HTTP Call With ASIHTTPRequest and HotUkDeals

Anyone shed any light on this, im calling the HotUkDeals API from the iphone simulator using a url that I've tested in a browser http://api.hotukdeals.com/rest_api/v2/?key=MYKEY, and in the browser I get a nice XML response, while on the Iphone Simulator I'm getting a HUKD page not found. I've tried Last.fm rest api to test I wasn't making a stupid mistake and I get what I expect开发者_高级运维. Are iphones being blocked from directly calling the API?


It due to the useragent, using the iphone simulator the application was being redirected around to the mobile site.


Add dforward=true to your GET parameters ;-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜