250x250
Notice
Recent Posts
Recent Comments
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- oracle
- 설정
- Eclipse
- Thymeleaf
- MSSQL
- Source
- MySQL
- Core Java
- 문서
- git
- error
- STS
- myBatis
- spring
- jpa
- JavaScript
- ubuntu
- AJAX
- 오픈소스
- JDBC
- maven
- Python
- Spring Boot
- PostgreSQL
- Exception
- IntelliJ
- Tomcat
- Docker
- Open Source
- SpringBoot
Archives
- Today
- Total
헤르메스 LIFE
[WARN] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported] 본문
Exception
[WARN] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]
헤르메스의날개 2021. 1. 8. 01:45728x90
Spring Boot
JDK 1.8.x
REST 를 공부하던 중 아래와 같은 오류가 발생되었습니다.
| Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported] |
1. RequestMapping 설정
@RequestMapping(value = "/users", method = RequestMethod.POST)
2. PostMapping설정
@PostMapping(value = "/users")
3. 요청경로 오류
다른 경로를 지정하고 POST 로 전송하는 경우.
728x90