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
<ows:Exception exceptionCode=“MissingParameterValue” locator=“request”>
This is in the url “&request=GetFeature&” , so I’m wondering what is missing ?
Hi @willimoa - can you please send an email to firstname.lastname@example.org with the URL and curl command you are using? We’ll check it out
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
Works perfectly ! thank you.