I am trying the Uber API and have got the following response output from the Uber API which has the Access Token :
{"last_authenticated":0,"access_token":"KQ.eyJ2ZXJzaW9uIjoyLCJpZCI6IlpOTjJ0ZjVMUzFpcW5JbVEvAdffgfgmc9PfsfsZXNffsdfdsfsdf5MDY4OTEsaW5lX2tleV9pZCI6Ik1RPT0iLCJwaXfCI6MX0.i3fnzPo61qO29IyOcs5OqfqQ_KEYtxs","expires_in":2592000,"token_type":"Bearer","scope":"history history_lite places profile ride_widgets","refresh_token":"QrerwerwrSAsdgdgg5532ADPkOmzXEiATEoATIBMQ.skNozSMCJobAl_vTDfPo2GEi_D0h1daHm6YQXCwgCws.t-NMldx56v2Pe1J_sNTxrNqjBlfsfsdfsfs6Lq8QxT29FM"}
Next I want to use CURL as mentioned below to access the trip history which is documented at : https://developer.uber.com/docs/riders/references/api/v1.2/history-get
curl -H 'Authorization: Bearer <TOKEN>' \
-H 'Accept-Language: en_US' \
-H 'Content-Type: application/json' \
'https://api.uber.com/v1.2/history'
but I am unsure on how or where to set the access token for the curl request which will respond with the trip history as json output.