Using WebView setHttpAuthUsernamePassword?

前端 未结 8 632
死守一世寂寞
死守一世寂寞 2020-11-30 05:45

I\'m trying to do basic authentication to view a protected url. I want to access the protected url which looks like this:

http://api.test.com/userinfo/vid?=1         


        
8条回答
  •  心在旅途
    2020-11-30 06:18

    You may need something other than "" for the second parameter. Contact the developer of the Web site and find out what an appropriate realm should be. Or, use tools like curl to find out what the realm should be.

提交回复
热议问题