curl -i --user akshat26:**** -H "Content-Type: application/json" -X POST -d @query.json 'https://api.gbif-uat.org/v1/occurrence/download/request'
But the download link doesn't seem to be working.
HTTP/1.1 201 Created
Date: Fri, 20 Apr 2018 23:33:25 GMT
Content-Type: application/json
Location: http://api.gbif-uat.org/occurrence/download/request/0000049-180416113528795
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: HEAD, GET, POST, DELETE, PUT
Connection: close
Server: Jetty(9.2.z-SNAPSHOT)
curl -Ss http://api.gbif.org/v1/occurrence/download/0000049-180416113528795
I hope someone can help