Anteon logo
Anteon Test Server API Reference

HTTP Method Type URL Description
POST Register user with: username, email, password
POST Login user with: username, password. You can use the JWT access token in private endpoints.
GET Get user detail. You must add JWT access token into header with: Authorization: Bearer eyJhbGciOiJ... You can get X-API-KEY from this endpoint.
GET Get available currencies. Response: ["USD", "EUR", "TRY", "BGN", "BHD",...]
GET Get the exchange rate from base to target. This endpoint shows the exchange rate from USD to EUR. Note that the currency rates are hard-coded and not real-time.
POST Exchange currencies. Body: { "amount": 153.5, "base": "USD", "target": "TRY" } You must add X-API-KEY to headers.