search

Home  >  Q&A  >  body text

android使用OkHttp post遇到403禁止怎么回事?

我用OKhttp post登录一下了自己的路由器网站,抛出错误protocol=http/1.1, code=403, message=Forbidden,url=http://192.168.1.1/cgi-bin/luci/
我在pc上写的程序可以正常访问

我用这个代码测试登录我的别的网站是正常的,不知道为什么就是路由器这个网站登录不了

大家讲道理大家讲道理2892 days ago839

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-18 09:08:17

    I think logging into the router page requires more verification than on a normal website, or maybe your request parameters are not written correctly

    reply
    0
  • Cancelreply