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

 

 上面是错误日志信息。

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

posted @ 2019-10-23 13:57  北宫乾宇  阅读(821)  评论(0编辑  收藏  举报