.dev
REST APIAPI Reference

Countries

GET
/v1/countries

Response Body

curl -X GET "https://example.com/v1/countries"
POST
/v1/countries

Response Body

curl -X POST "https://example.com/v1/countries"
GET
/v1/countries/{id}

Path Parameters

id*string

Response Body

curl -X GET "https://example.com/v1/countries/string"
PATCH
/v1/countries/{id}

Path Parameters

id*string

Response Body

curl -X PATCH "https://example.com/v1/countries/string"
DELETE
/v1/countries/{id}

Path Parameters

id*string

Response Body

curl -X DELETE "https://example.com/v1/countries/string"
PUT
/v1/countries/{id}

Path Parameters

id*string

Response Body

curl -X PUT "https://example.com/v1/countries/string"