
Ahmed Nizam • about 8 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.
2 comments
Onyekachi Izukanne • about 8 years ago
Already discussed here: http://uberhackathon.challengepost.com/forum_topics/4576-request-map-endpoint-issue
Ahmed Nizam • about 8 years ago
Thank you Onyekachi Izukanne. That answers my question.
An orthogonal question. Is webhooks working for you? I am struggling for 2 days to get that up.
I have a proper https endpoint that receives a post data.