•   over 4 years ago

Request Map

curl -X "GET" "https://sandbox-api.uber.com/v1/requests/73901cc6-2747-41ed-b788-bc91b3e65175/map" -H "Authorization: Bearer 7L72tRTk6lA3jmsY4qhc8NYEqRyKFq"
{"href":"https:\/\/sandbox.api.uber.com\/eta\/My3AEcKRk","request_id":"73901cc6-2747-41ed-b788-bc91b3e65175"}

When I requested the map using the request API, I got a href as sandbox.api.uber.com
Actually there is no domain of that name. I thinks its a bug in the API code (they have put sandbox.api.uber.com instead of sandbox-api.uber.com).

curl -X "GET" "https://sandbox.api.uber.com/eta/My3AEcKRk" -H "Authorization: Bearer 7L72tRTk6lA3jmsY4qhc8NYEqRyKFq"
curl: (6) Could not resolve host: sandbox.api.uber.com

Even If I give the domain name as sandbox-api.uber.com, I get a 404 page not found error :(

curl -X "GET" "https://sandbox-api.uber.com/eta/My3AEcKRk" -H "Authorization: Bearer 7L72tRTk6lA3jmsY4qhc8NYEqRyKFq"
404: Not Found404: Not Found

Comments are closed.