-
Notifications
You must be signed in to change notification settings - Fork 16
global
Oleg Baturov edited this page Jun 13, 2018
·
5 revisions
Welcome to global api wiki!
api prefix: /global
Get country list
Get image data
GET /countries
- for successed case
{
status: 200,
msg: 'sccuess',
data: [
{
"name": "Belize",
"alpha3": "BLZ"
}
]
}
- for failed case
{ status: 400, msg: err_msg, data: err }
GET /image/:filename
Name | Type | Mandatory | Default | Description |
---|---|---|---|---|
filename | String | Yes | undefined | filename stored in gridFS on the server |
- for successed case
{ status: 200, msg: 'sccuess', data: base64_image }
- for failed case
{ status: 400, msg: err_msg, data: err }