Errors testing api - MissingParameterValue

Hi, I’m testing the trap.nz api for the first time (via curl), following the csv url format at : Downloading shape file... | Trap.NZ Help & User guides

getting:
<ows:Exception exceptionCode=“MissingParameterValue” locator=“request”>

This is in the url “&request=GetFeature&” , so I’m wondering what is missing ?
Thanks

Hi @willimoa - can you please send an email to support@trap.nz with the URL and curl command you are using? We’ll check it out :slight_smile:

For the record - if using curl on the command line you will need to quote the URL. E.g:

curl "https://io.trap.nz/geo/trapnz-projects/wfs/my-api-key/my-project?service=WFS&version=2.0.0&request=GetFeature&typeName=trapnz-projects:my-projects-traps&outputFormat=csv" > traps.csv
1 Like

Works perfectly ! thank you.