You're double encoding the device ID. Try this: curl -i " http://35.171.217.31:7557/devices/1C497B-B2338%2D168-GMC170508001297/tasks?timeout=3000&connection_request" -X POST --data '{ "name": "getParameterValues", "parameterNames": ["InternetGatewayDevice.DeviceInfo.ProductClass"] }'
On Thu, Apr 19, 2018 at 11:50 AM, Eric Whalen <[email protected]> wrote: > It still failed with the specific parm specified. The results are below… > > > > C:\Users\eric>curl -i "http://35.171.217.31:7557/ > devices/1C497B%2DB2338%2D168%2DGMC170508001297/tasks?connection_request" > -X POST --data "{"name":"refreshObject", "objectName":" > InternetGatewayDevice.SystemConfig.Status.ModemStatus.RSRP"}" > > curl: (52) Empty reply from server > > > > I really appreciate your help on this. > > > > *From:* Users <[email protected]> *On Behalf Of *Dan > Morphis > *Sent:* Thursday, April 19, 2018 3:42 PM > *To:* Community support for GenieACS users <[email protected]> > *Subject:* Re: API call failure > > > > Don't refresh "", that doesn't really work right in v1.1, refresh a > specific instance. > > > > On Thu, Apr 19, 2018 at 11:41 AM, Eric Whalen <[email protected]> > wrote: > > Ok, so that fixed the debug issue. However when I run the following > command > > > > C:\Users\eric>curl -i "http://###.###.###.###:7557/ > devices/1C497B%2DB2338%2D168%2DGMC170508001297/tasks?connection_request > <http://#%23%23.%23%23%23.%23%23%23.%23%23%23:7557/devices/1C497B%2DB2338%2D168%2DGMC170508001297/tasks?connection_request>" > -X POST --data "{"name":"refreshObject", "objectName":""}" > > > > I get the following response > > > > curl: (52) Empty reply from server > > > > and nothing is written to the debug except for the periodic informs. > > > > Thanks > > > > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
