Skip to content
Snippets Groups Projects
Commit db607f2b authored by Gwangbin's avatar Gwangbin
Browse files

Fix README

parent a16118c0
No related branches found
No related tags found
No related merge requests found
......@@ -11,30 +11,16 @@
## Auth Specification
|Method|Path|Message Format(JSON)|설명|
|---|---|---|---|
|POST|/auth/login|{
"email": string,
"name": string,
"sub": string,
"picture": string,
}|로그인 요청|
|POST|/auth/login|{<br>"email": string,<br>"name": string,<br>"sub": string,<br>"picture": string,<br>}|로그인 요청|
|GET|/auth/logout||로그아웃 요청|
|GET|/auth/session||세션 연결 확인 요청|
## Article Specification
|Method|Path|Message Format(JSON)|설명|
|---|---|---|---|
|POST|/article|{
"title": string,
"content": string,
"img": string[],
"keyword": string,
"latitiude": number,
"longitude": number
}|게시글 작성 요청|
|POST|/article|{<br>"title": string,<br>"content": string,<br>"img": string[],<br>"keyword": string,<br>"latitiude":number,<br>"longitude": number<br>}|게시글 작성 요청|
|GET|/article||전체 게시글 요청|
|GET|/article/[id]||특정 게시글 요청|
|POST|/article/[id]/comment|{
"content": string
}|댓글 작성 요청|
|POST|/article/[id]/comment|{<br>"content": string<br>}|댓글 작성 요청|
|DELETE|/article/[articleId]/comment/[commentId]||특정 댓글 삭제 요청|
|PUT|/article/[id]/like||게시글 좋아요 요청|
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment