Querying Metadata, missing -G


21
views
0
12 weeks ago by
User originally trying: --data-urlencode 'q={"owner":"rjcarr"}' https://agave.designsafe-ci.org/meta/v2/data

Joe Stubbs response:

the `-G` instructs curl to pass the data as a query parameter. so, something like this works:
curl -G --data-urlencode 'q={"owner":"jstubbs"}' -H "Authorization: Bearer xxxxxxxx" "https://agave.designsafe-ci.org/meta/v2/data"

without the `-G` it gets passed as POST data, which (apparently) the service doesn't recognize.
Community: CIC Support