This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

AXIS VAPIX Virtual input via http request
#1
I'm trying to address a virtual input of an Axis intercom with the Bowser. Does the transfer of the login to the Logic machine work? Does the following error occur? Does anyone have any ideas?

Code:
http = require('socket.http')
url = 'https://root:Password@192.168.2.98/axis-cgi/virtualinput/activate.cgi?schemaversion=1&port=1'
res, err = http.request(url)
log(res, err)

Code:
* arg: 1
  * string: <!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>

* arg: 2
  * number: 401
Reply


Messages In This Thread
AXIS VAPIX Virtual input via http request - by tom77 - 23.06.2023, 08:43

Forum Jump: