后台显示
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name [0x160x030x010x000xf70x010x000x000xf30x030x035Y0xc7uY0x820x98F0xdcQ70xe29"0xf90x8e0xa1^/0xa8h0x910x140xbc0xaf0x9f0xe20xd3&0xc0%j ]. HTTP method names must be tokens
postman中显示
Error: write EPROTO 66976008:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../../../src/third_party/boringssl/src/ssl/tls_record.cc:242:
▶Request Headers
User-Agent: PostmanRuntime/7.32.3
Accept: */*
Cache-Control: no-cache
Postman-Token: 37df04c7-9f8c-446b-842e-9e98dbb130fc
Host: localhost:8080
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
解决方法:
将https改为http即可。
原因:
调本地的服务不用走证书认证,所以用http。