Created
October 14, 2017 08:37
-
-
Save hkskoglund/5a04773b573cc28613b5d35f5e02127c to your computer and use it in GitHub Desktop.
Disable SD recording D-link DCS-936L camera curl command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'http://192.168.0.110/eng/admin/adv_record.cgi' -H 'Cookie: usePath=null' -H 'Origin: http://192.168.0.110' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: nb-NO,en-US;q=0.8,sv-SE;q=0.6,sv;q=0.4,da-DK;q=0.2,da;q=0.2,nb;q=0.2,no;q=0.2,nn;q=0.2,en;q=0.2' -H 'Upgrade-Insecure-Requests: 1' -H 'Authorization: Basic YWRtaW46' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61 Safari/537.36' -H 'Cache-Control: max-age=0' -H 'Referer: http://192.168.0.110/eng/admin/adv_record.cgi' -H 'Connection: keep-alive' -H 'DNT: 1' --data 'enable=0' --compressed -s -w "%{http_code}\n" -o /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -v 'http://192.168.0.110/eng/admin/adv_record.cgi' -H 'Authorization: Basic YWRtaW46' -H 'Referer: http://192.168.0.110/eng/admin/adv_record.cgi' --data 'enable=0' --compressed -s -o /dev/null 2>&1 | grep HTTP