Bonjour,
Je souhaiterez redémarrer ma caméra Axis via un actionneur http. Celle ci et protégée par un mot de passe.
J'ai donc crée un actionneur de type GET avec pour url (https://root:motdepasse@ipprivé:port) et pour paramètre (/axis-cgi/restart.cgi)
Lorsque je lance le test voilà la réponse :
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Unauthorized</title>
</head><body>
<h1>Unauthorized</h1>
<p>This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
</body></html>
Alors que l'url fonctionne parfaitement dans un navigateur.
Merci pour vos éclairages.