hikvision-client icon indicating copy to clipboard operation
hikvision-client copied to clipboard

user add

Open igorvukotic opened this issue 4 years ago • 0 comments

I'm trying to add users but i get 403

requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://1.1.1.1:80/ISAPI/System/Security/users

And this is from documentation ( works with curl )

POST /ISAPI/Security/users HTTP/1.1 Host: 10.17.132.49 Content-Length: 335 Connec on: Keep-Alive Authoriza on: Digest username="admin", realm="DS-2CD2F12FWD-IWS", nonce="4e6a4d774d6a63304f544936593255335a474d334f54673d", uri="/ISAPI/Security/users", cnonce="178e14d4977c835db891b5392b5d0a67", nc=00000015, response="d92518 00cd2772cf212f5326b251be", qop="auth"

0 <userName>test</userName> 1qaz2wsx <bondIpList> <bondIp> 1 <ipAddress>0.0.0.0</ipAddress> <ipv6Address>::</ipv6Address> </bondIp> </bondIpList> <macAddress></macAddress> <userLevel>Operator</userLevel> false </a ribute> </User> HTTP/1.1 200 OK Date: Tue, 14 Mar 2017 20:24:31 GMT Server: App-webs/ Connec on: close Content-Length: 288 Content-Type: applica on/xml

/ISAPI/Security/users 1 OK 2 ok

igorvukotic avatar Oct 23 '20 15:10 igorvukotic