Digest authentication with EDGE DRIVER

Hello everybody,

I am trying for a few days now to get working Digest authentification with EDGE DRIVER, but still getting in some issues.

With command from CMD:
curl -H “X-Api-Key: API_KEY_HERE” http://192.168.0.XX/api/v1/status
It is possible to get response.

When I am trying to get it working inside EDGE DRIVER, still no luck. Getting Permissions Denied etc. There is no integreation of digest authentification, which I know, I am trying to get over it (with help of AI, I am not a programmer sadly, just little bit).

Does anyone know, what could be the correct way for it? I am trying to make implementation of Prusa 3D Printer, but I got stuck with this authentification.

Or is it possible, that the hub does not have an access to the printer even that it is on the same local network?

Thank you