[API-users] Asynchronous download service

Tim Robertson trobertson at gbif.org
Sat Apr 21 18:27:38 CEST 2018

Hi Akshat

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?

Many thanks,

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

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

Akshat Pant
Graduate Student | University of Maryland
Master of Information Management
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gbif.org/pipermail/api-users/attachments/20180421/d0980767/attachment.html>

More information about the API-users mailing list