Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"name": "United Kingdom",
"code": "UK",
"unicode": "U+1F1EC U+1F1E7",
"country_flag": "https://upload.wikimedia.org/wikipedia/en/a/ae/Flag_of_the_United_Kingdom.svg",
"phone_code": "+44"
}
Request Code Samples
curl --location --request PATCH '/country/2/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "United Kingdom",
"code": "UK",
"unicode": "U+1F1EC U+1F1E7",
"country_flag": "https://upload.wikimedia.org/wikipedia/en/a/ae/Flag_of_the_United_Kingdom.svg",
"phone_code": "+44"
}'
Responses
application/json Modified at 2024-11-22 06:13:56