curl without UOI

Łukasz P peceq83 at gmail.com
Wed Jan 9 07:14:57 EST 2019


*Hi actually i use for WIFI PASSWORD:*

 curl -i 'http://acs.smsnet.pl:7557/devices/FC0101-OG%252D3404-FC0101000118/tasks?connection_request'
\
  -X POST \
  --data '{"name":"setParameterValues",
"parameterValues":[["InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID",
"GenieACS",
"xsd:string"],["InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.PreSharedKey.1.PreSharedKey",
"hello world", "xsd:string"]]}'

*i have devices with different UOI and i haven't UOI in my database. Is
there option to send curl without UOI and  Model as below: ? (only with
serial number)*

 curl -i 'http://acs.smsnet.pl:7557/devices/FC0101000118/tasks?connection_request'
\
  -X POST \
  --data '{"name":"setParameterValues",
"parameterValues":[["InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID",
"GenieACS",
"xsd:string"],["InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.PreSharedKey.1.PreSharedKey",
"hello world", "xsd:string"]]}'


What i need to change ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20190109/7edb33a8/attachment.html>


More information about the Users mailing list