会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
supersupersuperman
博客园
首页
新随笔
联系
订阅
管理
2015年4月24日
java.io.IOException: Server returned HTTP response code: 403 for URL
摘要: 在调用api接口做测试的时候出现java.io.IOException: Server returned HTTP response code: 403 for URL因为服务器的安全设置不接受Java程序作为客户端访问,解决方案是设置客户端的User Agenturl = new URL("htt...
阅读全文
posted @ 2015-04-24 15:05 xijie0101
阅读(10713)
评论(1)
推荐(0)
编辑
公告