/Utilities/countries
GET
/Utilities/countries
const url = 'https://api.chatfood.app/Utilities/countries';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.chatfood.app/Utilities/countries \ --header 'Authorization: Bearer <token>'Authorizations
Seção intitulada “Authorizations”Responses
Seção intitulada “Responses”OK
Array<object>
object
code
string
name
string
flag
string
timezones
Array<string>
primaryTimezone
string
currencies
Array<string>
languages
Array<string>
region
string
Array<object>
object
code
string
name
string
flag
string
timezones
Array<string>
primaryTimezone
string
currencies
Array<string>
languages
Array<string>
region
string
Examplegenerated
[ { "code": "example", "name": "example", "flag": "example", "timezones": [ "example" ], "primaryTimezone": "example", "currencies": [ "example" ], "languages": [ "example" ], "region": "example" }]Array<object>
object
code
string
name
string
flag
string
timezones
Array<string>
primaryTimezone
string
currencies
Array<string>
languages
Array<string>
region
string
Examplegenerated
[ { "code": "example", "name": "example", "flag": "example", "timezones": [ "example" ], "primaryTimezone": "example", "currencies": [ "example" ], "languages": [ "example" ], "region": "example" }]