Access-Control-Expose-Headers: X-RateLimit-Limit, X-RateLimit-Remaining
Opened this issue · 1 comments
Deleted user commented
Can You please add this http header?
Access-Control-Expose-Headers: X-RateLimit-Limit, X-RateLimit-Remaining
I wanted to display the data in the footer of my app.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers
Example (actually null):
const a = response.headers.get("X-RateLimit-Limit");
Note:
Since I'm using different endpoints from https://api.nasa.gov/, if this is a solution, a good feature, I'm looking to spread the change request across multiple endpoints.
Regards
Mattia
JustinGOSSES commented
Looks like its merged now, so closing.