后来经过跟进reply->error发现204错误,文档上说的是the remote server requires authentication to serve the content but the credentials provided were not accepted (if any) 应该是网页需要验证,问题来了,假设用户名跟密码是admin和admin,请问一下我在进入接口之前怎么能通过验证呢,或者有没有办法在发送URL的时候可以带上用户名跟密码的?
查了下HTTP Basic Authorization 但是还是不知道怎么去传递,求指导?