-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCurrentAPI.http
More file actions
64 lines (48 loc) · 2.14 KB
/
CurrentAPI.http
File metadata and controls
64 lines (48 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
### 네이버 지도 경로 탐색
GET localhost:8080/map/?start-lat=37.359708&start-lng=127.1058342&goal-lat=35.179470&goal-lng=129.075986
# Categorys : "1인분", "한식", "일식", "중식",
# "양식", "치킨", "분식", "고기구이",
# "도시락", "야식", "패스트푸드", "디저트",
# "아시안푸드"
# Sort : "rank", "review_avg", "review_count", "distance"
// 요기요
### 현위치 주변 매장 조회(카테고리: 치킨)
GET localhost:8080/yogiyo/restaurant?lat=37.54775437002297&lng=127.06083008344&category=패스트푸드&sort=distance
### 가게의 모든 메뉴 조회
GET localhost:8080/yogiyo/313580/menu
### 매장검색
GET localhost:8080/yogiyo/search-restaurants?lat=37.5479009261467&lng=127.062295814953&search=굽네치킨&sort=distance
/// 배달의 민족
### 현위치 주변 매장 조회(카테고리: 치킨)
GET localhost:8080/baemin/restaurant?lat=37.5479009261467&lng=127.062295814953&category=고기구이&sort=distance
### 가게의 모든 메뉴 조회
GET localhost:8080/baemin/13225239/menu
### 매장 검색
GET localhost:8080/baemin/search-restaurants?lat=37.5479009261467&lng=127.062295814953&search=굽네치킨&sort=rank
// 쿠팡이츠
### 현위치 주변 매장 조회(카테고리: 치킨)
GET localhost:8080/coupang/restaurant?lat=37.5479009261467&lng=127.062295814953&category=도시락&sort=review_avg
### 가게의 모든 메뉴 조회
GET localhost:8080/coupang/469509/menu
### 매장 검색
GET localhost:8080/coupang/search-restaurants?lat=37.5479009261467&lng=127.062295814953&search=굽네치킨&sort=rank
// 로그인 API
### 네이버
GET http://localhost:8080/oauth2/authorization/naver
### 구글
GET http://localhost:8080/oauth2/authorization/google
### 카카오
GET http://localhost:8080/oauth2/authorization/kakao
// 사용자 주소 API
### 주소 추가 API
POST http://localhost:8080/location/add?userId=1
Content-Type: application/json
{
"lat":"37.5479009461467",
"lng":"127.062295814953",
"address": "house"
}
### 기본주소 불러오기
GET http://localhost:8080/location/default?userId=1
### 구글 로그인
http://localhost:8080/