Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scryfall API now requires headers #22

Open
Mau3189 opened this issue Aug 11, 2024 · 0 comments
Open

Scryfall API now requires headers #22

Mau3189 opened this issue Aug 11, 2024 · 0 comments

Comments

@Mau3189
Copy link

Mau3189 commented Aug 11, 2024

Not sure if this affects the execution of the app, just wanted to raise attention to this new change.

https://scryfall.com/blog/user-agent-and-accept-header-now-required-on-the-api-225

"We’ve made a change to our API that hardens requirements on the headers you send. You now must provide a User-Agent header and an Accept header.

Your User-Agent header should reflect the name and version of your application, e.g. MtgExampleApp/1.1. Do not allow HTTP libraries to choose the header for you. If you are connecting with browser-based JavaScript, do not change the browser User-Agent.
The Accept header must be present, but you can provide a generic preference. For example, both of these are okay: Accept: */* and Accept: application/json;q=0.9,*/*;q=0.8."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant