Skip to main content

Filtering quirks with cURL

If you want to use filters with cURL, you'll need to use the special --globoff flag. Otherwise, cURL will choke on any [] used in the filters. Your cURL request will look something like this:

curl \
--globoff \
--header "Authorization: Token YOUR_API_KEY" \
--header "Account-Token: YOUR_ACCOUNT_TOKEN" \
"https://secure.fleetio.com/api/v1/vehicles?filter[license_plate][like]=xy"