내 현재 타기를 삭제하려면 DELETE https://sandbox-api.uber.com/v1.2/requests/current
Api로 전화 할 때 응답 코드 204가 표시됩니다. 현재 Trip이없는 경우에도 동일한 응답 코드 (204)가 표시됩니다. 여기 그래서 현재 여행이없는 경우 GET https://sandbox-api.uber.com/v1.2/requests/current
Uber Api - 현재 타기를 삭제할 때 잘못된 응답 상태 코드
{
"meta": {},
"errors": [
{
"status": 404,
"code": "no_current_trip",
"title": "User is not currently on a trip."
}
] }
의 반응은, DELETE https://sandbox-api.uber.com/v1.2/requests/current
는 404 상태 코드를 반환해야합니다. 내 편이 잘못되었거나 API에 버그가 있습니까? https://sandbox-api.uber.com/v1.2/requests/ {REQUEST_ID}이 경우
, 당신은에 의해 확인 된 특정 요청을 삭제합니다
는 삭제 :