@GET : 상대방에서 데이타를 얻음
@POST : 상대방에 데이타를 보냄
POST sends data to a specific URI and expects the resource at that URI to handle the request.
The web server at this point can determine what to do with the data in the context of the specified resource.
The POST method is not idempotent, however POST responses are cacheable so long as the server sets
the appropriate Cache-Control and Expires headers.
@PUT:
PUT puts a file or resource at a specific URI, and exactly at that URI. If there's already a file or resource
at that URI, PUT replaces that file or resource. If there is no file or resource there, PUT creates one.
PUT is idempotent, but paradoxically PUT responses are not cacheable.
put과 post는 비슷하지만 put은 특정 파일이나 자원을 특정 url에 해당 파일이나 자원이 있는 경우는 갱신을 하고
없는 경우는 생성을 하게 된다. post는 특정 url에 대한 요청의 결과로 데이타를 보내는 것이며 웹서버에서
해당 자원의 처리를 결정하게된다.
@DELETE : 특정 데이타를 서버에서 삭제
'IT 통신 수학 과학 > 정보통신' 카테고리의 다른 글
아두이노 체험단 모집 (0) | 2022.03.10 |
---|---|
ConnectionRefusedError: [WinError 10061] 대상 컴퓨터에서 연결을 거부했으므로 연결하지 못했습니다 (0) | 2022.01.30 |
무료 유투부 고화질 다운로더.. (0) | 2022.01.20 |
[신제품] 리안리 갈라하드 수냉쿨러, 유니팬 SL120 적용 에디션 (0) | 2022.01.15 |
ASRock B460M PRO4 전원 불량 문제 (ASRock B460M PRO4 Power Fail) (0) | 2020.10.11 |
한개의 등을 2~ 4의 스위치로 껏다 켰다 해봐요 : 3로 스위치, 4로 스위치 (0) | 2020.05.20 |
통신사별 DNS(Domain Name Server) 주소/DNS 서버란? (0) | 2020.04.16 |
유투브 방송/생방송하는 방법 (0) | 2020.04.08 |