FDA / openfda

openFDA is an FDA project to provide open APIs, raw data downloads, documentation and examples, and a developer community for an important collection of FDA public datasets.
https://open.fda.gov
Creative Commons Zero v1.0 Universal
569 stars 131 forks source link

API key is not carried over in link header next relation #107

Closed beckyconning closed 4 years ago

beckyconning commented 4 years ago

API key and other parameters are not present in the link header next relation.

This means despite providing the API key I will be rate limited to the point of not being able to retrieve all my pages. Additionally if I have applied a query I will receive incorrect results.

beckyconning commented 4 years ago

My PR works with this but the implementation you have delivered does not.

beckyconning commented 4 years ago

Upon further inspection it seems that its just the API key that is not carried over. It certainly should be.

beckyconning commented 4 years ago

Otherwise the API key should be provided in a header.

beckyconning commented 4 years ago

API key can be provided in the basic auth user header.