[API-users] Asynchronous download service
trobertson at gbif.org
Sat Apr 21 18:27:38 CEST 2018
You are mixing production and test URLs there. You create the download on test (UAT) and then request the result from production.
(it is available in the UAT environment: http://api.gbif-uat.org/v1/occurrence/download/0000049-180416113528795)
The production GBIF API is on https://api.gbif.org and not https://api.gbif-uat.org
Can you please use production URLs only (i.e. relaunch your download) and then let us know if you still have issue?
From: API-users <api-users-bounces at lists.gbif.org> on behalf of Akshat Pant <akshat26 at terpmail.umd.edu>
Date: Saturday, 21 April 2018 at 18.06
To: "API-users at lists.gbif.org" <API-users at lists.gbif.org>
Subject: [API-users] Asynchronous download service
I am trying to use the asynchronous download service.
I used the following curl query:
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
Access-Control-Allow-Methods: HEAD, GET, POST, DELETE, PUT
curl -Ss http://api.gbif.org/v1/occurrence/download/0000049-180416113528795
I hope someone can help
Graduate Student | University of Maryland
Master of Information Management
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the API-users