본문 바로가기
Web Programming/이론 공부

GET / POST 방식과 차이점

by jaey0ng 2022. 10. 31.

GET은 서버의 리소스에서 데이터를 요청할 때 사용
POST는 서버의 리소스를 생성하거나, 수정할 때 사용

Http method
post / get / put / delete

CRUD
Create -> POST
Read -> GET
Update -> PUT
Delete -> DEL

우리가 개발할 때
board.jsp
boardDetail.jsp

localhost:8000/board.jsp -> POST
localhost:8000/boardDetail.jsp?no=1 -> GET