报错Invalid character found in method name. HTTP method names must be tokens|the HTTP protoco

 

 上面是错误日志信息。

具体原因是:因为请求协议不对,需要统一成https或http请求。此处我定义的是http协议的,但是在请求的地址使用的是https协议

猜你喜欢

转载自www.cnblogs.com/myfaith-feng/p/11725898.html
今日推荐