❇️ API 설명
<aside>
📎 비밀번호 변경할 때 기존 비밀번호 입력해 맞는지 확인
Page |
HTTP method |
URI |
알림 |
POST |
home/gps |
</aside> |
|
|
⬆️ Request
Header
Name |
Type |
Value |
Authorization |
String |
access Token |
{
"Authorization" : "[사용자별 access Token]",
}
Body
Name |
Type |
Description |
latitude |
double |
위도 |
longitude |
double |
경도 |
{
"latitude":41.40338,
"longitude":2.17403
}
⬇️ Response
Name |
Type |
Description |
code |
Int |
상태코드 |
inSuccess |
Boolean |
0은 실패, 1은 성공 |
message |
String |
상태 메시지 |
result |
Object |
true이면 일치, false이면 불일치 |
store |
String |
브랜드명 |
storeName |
String |
가맹점명 |
latitude |
String |
위도 |
longitude |
String |
경도 |
{
"code" : 1000,
"inSuccess" : 1,
"message" : "요청에 성공하였습니다",
"result" : [
{
"store":"다이소",
"storeName": "다이소 이대역점",
"latitude":"41.40338",
"longitude":"2.17403"
},
{
"store":"다이소",
"storeName": "다이소 이대역점",
"latitude":"41.40338",
"longitude":"2.17403"
}
]
}