Closed bcorrie closed 2 years ago
Had another user ask about this - curl queries as in the doc not working correctly... Created a pull request to change the ADC API docs, @schristley can you have a look. I think we can probably just merge, and then point people to the "latest" version of the docs for the fix...
I believe this is addressed in #588 so closing this issue.
Some repositories (at least VDJServer) are strict and require the header to be of the correct type. The documentation doesn't say this and the curl commands don't work against VDJServer. This doesn't work:
curl --data @/data/src/AIRR/adc-api-tests/repertoire/pass-query1-2_repertoire.json https://vdjserver.org/airr/v1/repertoire
While this does:
curl -H "Content-Type: application/json" --data @/data/src/AIRR/adc-api-tests/repertoire/pass-query1-2_repertoire.json https://vdjserver.org/airr/v1/repertoire