Configure a network camera

Tony Lombardo via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <SA0PR04MB730552B28A2A23A4D66E8106B2D8A@SA0PR04MB7305.namprd04.prod.outlook.com>
This may be obvious to even the most casual observer, but I have tried every permutation I can think of and none of them worked. Attempting to use a simple bash script for network camera configuration.
I tried a couple times to escape the ampersand and so forth, it doesn't seem to like the syntax in general. I have other similar scripts that use different endpoints that work fine. Any suggestions are appreciated.

res=$(curl -s --anyauth --noproxy "*" -u root:"thisisthepassword" 123.456.0.78/axis-cgi/pwdgrp.cgi?action=add&user=operator&pwd="alsoapassword"&grp=operator)

echo "$res"


If anyone is truly interested, the instructions for what I am trying to do are located here:
https://www.axis.com/vapix-library/subjects/t10175981/section/t10036044/display
-     Under the "Add, modify and delete user accounts" section, example #1

Thanks all!
-Tony

--
Tony Lombardo
Systems Administrator
Division of Public Safety
Access Control Department
Cornell University

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.