任何人都会对此有所了解,即时消息使用我在浏览器http://api.hotukdeals.com/rest_api/v2/?key=MYKEY中测试的url从iPhone模拟器调用HotUkDeals API,并在浏览器中获得一个很好的XML响应,而在Iphone模拟器上,我得到一个HUKD页面未找到。我试过Last.fm休息API来测试我没有犯一个愚蠢的错误,我得到了我的期望。 iphones是否被阻止直接调用API?使用ASIHTTPRequest和HotUkDeals的Iphone HTTP调用
0
A
回答
0
由于useragent,使用iPhone模拟器的应用程序被重定向到移动网站。
0
将dforward=true
添加到您的GET参数;-)
相关问题
- 1. iPhone和ASIHTTPRequest - 无法启动HTTP连接
- 2. 在iPhone上使用ASIHTTPRequest和json-framework
- 3. 在iphone中使用ASIHTTPRequest
- 4. ASIHTTPRequest和http标头
- 5. 使用ASIHTTPRequest为iPhone解析响应
- 6. iPHone的ASIHTTPRequest问题
- 7. 使用ASIHTTPRequest的RestKit
- 8. 使用ASIHTTPRequest
- 9. ASIHTTPRequest与iPhone 3G
- 10. iPhone - 使用ASIHTTPRequest对NSOperationsQueue或ASINetworkQueue进行翻转和排序
- 11. 如何从iPhone中的ASIHTTPRequest调用soap方法?
- 12. Adwhirl ASIHttpRequest崩溃iPhone
- 13. ASIHttpRequest调用Restful Web服务?
- 14. 循环使用promise和http调用
- 15. Iphone AsiHttpRequest验证RESTService
- 16. iPhone ASIHTTPRequest支持https?
- 17. 使用ASIHTTPRequest下载文件 - iPhone应用程序
- 18. Mac的ASIHTTPRequest包装使用
- 19. 使用外部类的ASIHTTPRequest
- 20. 使用ASIHTTPRequest的可达性
- 21. base64 http post使用iphone sdk
- 22. 使用ASIHTTPRequest iPhone上传的JPEG图像方向
- 23. 使用ASIHTTPRequest变量的iphone下载图像
- 24. NSOperationQueue和ASIHTTPRequest
- 25. ASIHTTPRequest调试
- 26. 如何使用ASIHTTPRequest访问“http://webservices.ns.nl/ns-api-stations”
- 27. Iphone部署目标与ASIHTTPRequest
- 28. NSNotificationCenter和ASIHTTPRequest
- 29. 使用ASIHTTPRequest链接问题
- 30. ASIHTTPRequest didReceiveData - 如何使用?