returns all available currencies
GET /api/v1/currencies
Parameters
Request
Headers
Route
GET /api/v1/currencies
Query Parameters
{}:
cURL
curl "http://localhost:3000/api/v1/currencies" -X GET \
-H "Accept: application/json" \
-H "X-Api-Token: 8onUyW5CQjb3vWMynnUd6ZQSRzRymsvdmQ" \
-H "X-Api-Email: user-132@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"USD": {
"country": "United States",
"currency": "Dollar",
"iso": "USD",
"symbol": "$",
"hex": "24",
"ratio": 100
},
"GBP": {
"country": "United Kingdom",
"currency": "Pound",
"iso": "GBP",
"symbol": "£",
"hex": "a3",
"ratio": 100
},
"EUR": {
"country": "Euro Member",
"currency": "Euro",
"iso": "EUR",
"symbol": "€",
"hex": "20ac",
"ratio": 100
}
}