- requires HTTP Basic authorization
user_email
-- users email requiredtrip_mode
-- trip mode identifier required (seetrip_mode
options below)trip_purpose
-- trip purpose identifier optional (seetrip_purpose
options below)trip_distance
-- trip distance in miles required
- walk
- bike
- bus
- rideshare
- work - default
- errands
- leisure
- school
curl --data "[email protected]&trip_mode=walk&trip_purpose=work&trip_distance=2.3" \
-u 1f3a284920d579e01deafc80ca1911bbc0cfb000:c0334cbd11b78dcac2439bfe938055bc07a7092f \
https://whatcomsmarttrips.org/api/employers/trips
Ok, I've updated the spec as per your suggestions