You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where {vehicleId} can be provided but doesnt have to and it would still work,
so GET couriers/123/can_become_online and GET couriers/123/can_become_online/567 would lead to the same endpoint.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there any way to configure endpoint to use optional uri variable?
Like so:
where {vehicleId} can be provided but doesnt have to and it would still work,
so
GET couriers/123/can_become_online
andGET couriers/123/can_become_online/567
would lead to the same endpoint.I'd like to have this in one endpoint of course
Beta Was this translation helpful? Give feedback.
All reactions