... | ... | @@ -56,7 +56,7 @@ response header |
|
|
|
|
|
### Create poi
|
|
|
|
|
|
post http://127.0.0.1:3000/poi/
|
|
|
post http://172.16.20.63:3000/poi/
|
|
|
|
|
|
```json
|
|
|
{
|
... | ... | @@ -80,19 +80,38 @@ post http://127.0.0.1:3000/poi/ |
|
|
|
|
|
### Get All Category
|
|
|
|
|
|
get http://127.0.0.1:3000/category
|
|
|
get http://172.16.20.63:3000/category
|
|
|
|
|
|
|
|
|
### Get All Provice
|
|
|
|
|
|
get http://127.0.0.1:3000/land/
|
|
|
get http://172.16.20.63:3000/land/
|
|
|
|
|
|
|
|
|
### Get All Amphoe in Provice
|
|
|
|
|
|
get http://127.0.0.1:3000/land/:pcode
|
|
|
get http://172.16.20.63:3000/land/:pcode
|
|
|
|
|
|
|
|
|
### Get All Tambon in Amphoe
|
|
|
|
|
|
get http://127.0.0.1:3000/land/:pcode/acode |
|
|
\ No newline at end of file |
|
|
get http://172.16.20.63:3000/land/:pcode/acode
|
|
|
|
|
|
# Get Tambon By Lat Lng
|
|
|
|
|
|
get http://172.16.20.63:3000/land/by/point/:lng/:lat
|
|
|
|
|
|
response
|
|
|
|
|
|
```JSON
|
|
|
{
|
|
|
"NAME_THAI": "แขวงพระบรมมหาราชวัง",
|
|
|
"NAME_ENG": "Khwaeng Phraborom Maharatchawang",
|
|
|
"AMPHOE_THAI": "เขตพระนคร",
|
|
|
"AMPHOE_ENG": "Khet Phra Nakhon",
|
|
|
"PROVINCE_THAI": "กรุงเทพมหานคร",
|
|
|
"PROVINCE_ENG": "Bangkok",
|
|
|
"T_CODE": "013206"
|
|
|
}
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |