SynBioHub / synbiohub3

Web application enabling users and software to browse, upload, and share synthetic biology designs. This repository is a redesign of the original SynBioHub using React and Spring Boot.
BSD 2-Clause "Simplified" License
11 stars 0 forks source link

Download Endpoints Checklist #229

Open danielfang97 opened 2 years ago

danielfang97 commented 2 years ago
danielfang97 commented 1 year ago

There is currently an issue with Download endpoints.

curl -X GET -H "Accept: text/plain" -H "X-authorization: 2a667bc5-af26-4d8d-8bc2-c5bcb7e246e3" https://synbiohub.org/public/igem/BBa_B0034/1/sbol

This curl command pulls from SynBioHub.org. This should be the correct URI, and this always works, even if localhost isn't turned on.

curl -X GET -H "Accept: text/plain" -H "X-authorization: 2a667bc5-af26-4d8d-8bc2-c5bcb7e246e3" http://localhost:7777/public/igem/BBa_B0034/1/sbol Changing the URL to localhost:7777 also works

curl -X GET -H "Accept: text/plain" -H "X-authorization: 2a667bc5-af26-4d8d-8bc2-c5bcb7e246e3" http://localhost:6789/public/igem/BBa_B0034/1/sbol Changing the URL to SBH3 doesn't work

My guess is that it should, but it doesn't even hit the endpoint. Something is seriously wrong, but no idea what it is.