cURL
curl --request GET \ --url https://app.variable.global/api/v1/unit \ --header 'Authorization: Bearer <token>'
[ { "code": "kg", "name": "Kilogram", "type": "weight" } ]
Unit information.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A list of units
The response is of type object[].
object[]