Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"name": "India",
"code": "In",
"unicode": "U+1F1EE U+1F1F3",
"country_flag": "https://upload.wikimedia.org/wikipedia/en/4/41/Flag_of_India.svg",
"phone_code": "+91",
"currency": "INR"
}
Request Code Samples
curl --location --request POST '/country/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "India",
"code": "In",
"unicode": "U+1F1EE U+1F1F3",
"country_flag": "https://upload.wikimedia.org/wikipedia/en/4/41/Flag_of_India.svg",
"phone_code": "+91",
"currency": "INR"
}'
Responses
application/json Modified at 2024-11-22 06:13:56