chromiumoxide icon indicating copy to clipboard operation
chromiumoxide copied to clipboard

Where would be the best place to pass an api key as basic auth to the page in which you are loading?

Open MostHated opened this issue 1 year ago • 0 comments

Hey there, an app I am trying to use makes use of this library, but the page I am needing to load requires an api key if not logged in.

An example would be using similar to the following:

curl -u":xx_xx_api_key_xx_xx" http://10.10.69.420:/dashboard

It accepts the api key as a basic auth, but without a user (just a local uptime kuma instance). I am wondering where I might add this, somewhere in page, but before calling goto(), or similar?

Thanks, -MH

MostHated avatar May 10 '23 18:05 MostHated