-
Notifications
You must be signed in to change notification settings - Fork 0
/
Test2.js
16 lines (12 loc) · 918 Bytes
/
Test2.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
GET /rpc/Switch.Set?id=0&on=true&toggle_after=1 HTTP/1.1
Authorization: Digest username="admin", realm="shellyplus1-7c87ce7213ec", nonce="642daba1", uri="/rpc/Switch.Set?id=0&on=true&toggle_after=1", algorithm="SHA-256", qop=auth, nc=00000001, cnonce="12", response="e92ea445953bcfe3619b1fa77fe23b890ebfe9c423cba549d273858f0481002a"
Authorization: Digest username="admin", realm="shellyplus1-7c87ce7213ec", nonce="642daba1", uri="/rpc/Switch.Set?id=0&on=true&toggle_after=1", algorithm="SHA-256", qop=auth, nc=00000001, cnonce="12", response="50318346e0870bbcecc4110a9268b1a0928bc312c6639ee16ab69e45c08b3e37"
Host: 192.168.2.149
HTTP/1.1 401 Unauthorized
Server: Mongoose/6.18
Content-Type: application/json
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: *
Content-Length: 0
Connection: close
WWW-Authenticate: Digest qop="auth", realm="shellyplus1-7c87ce7213ec", nonce="642dabce", algorithm=SHA-256