Thank you very much. It worked. I encoded the & because it was being trimmed by 
a third party API in the middle. I found a way to maintain it, so everything is 
perfect. 

Kind regards, 



----- Original Message -----

From: "Zaid Abdulla" <[email protected]> 
To: [email protected], "Community support for GenieACS users" 
<[email protected]> 
Sent: Wednesday, 25 January, 2017 3:03:20 AM 
Subject: Re: factoryReset 

On Fri, 2017-01-20 at 19:06 +0100, [email protected] wrote: 
> root@genieacs:/opt/genieacs/config# curl -i 'http://X.X.X.X:7557/devi 
> ces/083FBC-F668A- 
> ZTENQXXXXXXXXX/tasks?timeout=5000%26connection_request' -X POST -- 
> data '{ "name": "factoryReset" }' 

The ampersand in the URL query part should not be encoded. 

-- 
Zaid Abdulla <[email protected]> 

_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to