개발/spring

[SpringBoot] HTTP 오류 - Invalid character found in method name. HTTP method names must be tokens 해결법

bloomin 2019. 11. 9. 20:53

http response를 testing하려고 주소를 입력했는데 위와 같은 response와 동시에

터미널에도 이런 오류가 떴다.

나는 http관련 메서드를 써서 주소를 매핑했는데, request는 https로 준 탓이었다.

http로 주소를 다시 매핑하니, 200 response와 함께 내가 응답 처리한 것을 확인할 수 있었다.