"Content-type" : "application/json"
<aside> 💡 간편 로그인 API
</aside>
<aside> 💡 거래 위치 지도
</aside>
<aside> 💡 우편 번호 API
</aside>
https://www.erdcloud.com/d/gDa6qmjtEanhKX4YA
<aside> 💡 예시
POST /image/uploadfile
[API 형식] [URL] -> /큰틀이름/소제
GET Method
GET은 보통 조회를 할 때 사용한다.
DB로 생각했을때는 SELECT에 해당
POST Method
POST는 보통 데이터를 추가할 때 사용한다.
DB로 생각했을때는 INSERT에 해당
PUT Method
PUT은 데이터를 수정 할 때 사용한다.
DB로 생각했을때는 UPDATE에 해당
DELETE Method
DELETE는 데이터를 삭제할 때 사용한다.
DB로 생각했을때는 DELETE에 해당
{
"Content-type" : "application/json"
}
"Content-type" : "application/json" : json
"Content-type" : "multipart/[form-data]" : 파일 첨부
"Content-type" : image/png : 이미지만
"Content-type" : text/html; charset=UTF-8 : 텍스트
</aside>