spring http request1 [Spring] Controller와 HTTP Request 메시지 HTML 파일 작성 hello-request-form.html GET /request/star/{name}/age/{age} 이름: 나이: 전송 GET /request/form/param 이름: 나이: 전송 POST /request/form/param 이름: 나이: 전송 POST /request/form/model 이름: 나이: 전송 POST /request/form/json 이름: 나이: 전송 Controller와 HTTP Request 메시지 - HelloRequestController.java의 전체 코드는 하단에 올려두었다. 1. @PathVariable @Controller @RequestMapping("/request") public class HelloRequestController { @G.. 2023. 4. 15. 이전 1 다음