openmove / odh-mentor-otp

https://mobility.meran.eu
1 stars 3 forks source link

add support for api token in api clients #138

Closed stefanocudini closed 1 year ago

stefanocudini commented 2 years ago

ecample

curl -X GET "${API_HOST}/v2/tree/VMS/*?where=scode.eq.A22:111:2" \
    -H "content-type: application/json" \
    -H "Authorization: bearer ${TOKEN}"
stefanocudini commented 1 year ago

solved: https://github.com/openmove/odh-mentor-otp/blob/development/vms/config.yml#L23