Retrieves the list of countries with code and name.
URL
(GET) /api/settings/countries/codes
(POST) /api/settings/countries/codes
...
The method has no parameters.
Use the POST variant for autofor Auto-completion and pagination features.
RESULTS
The result is a JSON array with one element per country:
v | The ISO 3 letter country code such as FRA, AUT, GER | string |
t | The default title (typically in English unless changed by admin) | string |
EXAMPLES
List of countries with 3 letter code and name.
Code Block |
---|
[ { "v": "ABW", "t": "Aruba" }, { "v": "AFG", "t": "Afghanistan" }, ... ] |
...