Invalid character found in method name. HTTP method names must be tokens 解决办法

Posted qingmuchuanqi48

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Invalid character found in method name. HTTP method names must be tokens 解决办法相关的知识,希望对你有一定的参考价值。

今天用postman调用后端接口的时候报出这个错误,如下图。

技术图片

 

 错误原因是用的https请求如下图

技术图片

 

 把请求改为http即可解决这个错误,如下图

技术图片

 

以上是关于Invalid character found in method name. HTTP method names must be tokens 解决办法的主要内容,如果未能解决你的问题,请参考以下文章

Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC(

解决Invalid character found in the request target. The valid characters are defined in RFC 7230 and RF

解决Invalid character found in the request target. The valid characters are defined in RFC 7230 and RF

java lang IllegalArgumentException Invalid character found

解决 Invalid character found in method name. HTTP method names must be tokens 异常信息

java.lang.IllegalArgumentException: Invalid character found in the request target.