fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
939 stars 29 forks source link

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

Open arpanghosh8453 opened 4 months ago

arpanghosh8453 commented 4 months ago

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 commented 4 months ago

Hi,

Using curlyou should be able to pass basic auth credentials using

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

Isn't it working?

arpanghosh8453 commented 4 months ago

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.