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

[Question] How to access API endpoints when using basic authentication #356

Open
arpanghosh8453 opened this issue Mar 1, 2024 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@arpanghosh8453
Copy link

I am trying to access the endpoints while under basic authentication, but I do not see any documented way to pass the auth parameters while making the request. Any help or idea how I can pass the username and password and access the endpoints using curl?

@fmartinou
Copy link
Owner

Hi,

Using curlyou should be able to pass basic auth credentials using

curl -u "login:password" http://wud...

Isn't it working?

@fmartinou fmartinou self-assigned this Mar 5, 2024
@fmartinou fmartinou added the help wanted Extra attention is needed label Mar 5, 2024
@arpanghosh8453
Copy link
Author

Thank you for your response! I think that worked! I am just trying to integrate this with homepage widget which currently do not support authenticated instances of whats-up-docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants