Modo Claro
Country Details
GET
/countries/{country}Last modified: 23 days ago
This endpoint allows you to return the details for a specific country by passing the country
as a path parameter.
Request
Parâmetros Path
country
integer
requerido
The Country ID
Request samples
Respostas
Success(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"success": true,
"status": 200,
"data": {
"id": 1473353380,
"name": "السعودية",
"name_en": "Saudi Arabia",
"code": "SA",
"mobile_code": "+966",
"capital": "Riyadh"
}
}
Last modified: 23 days ago