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

Improper documentation of API authentication #789

Open
jtagcat opened this issue Feb 11, 2024 · 0 comments
Open

Improper documentation of API authentication #789

jtagcat opened this issue Feb 11, 2024 · 0 comments

Comments

@jtagcat
Copy link

jtagcat commented Feb 11, 2024

All the flashy curl boxes misdirect the consumer:

image

image


Would you think to use X-API-Key instead? curl --header 'X-API-Key: RhxUmsGG.7HYGRRnDTkJ7rPcQVbNHj8ls9Ysdt2tP' 'http://localhost/api/customers/'

It is documented when you scroll down on the first page. I had to try various variants, and at some point figured the application was broken.

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

2 participants
@jtagcat and others