Announcement

Collapse
No announcement yet.

reboot via curl not working

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • reboot via curl not working

    We are tyring to use


    curl -u admin:PASSWORD http://xxx.xxx.xxx.xxx/reboot -X POST


    to reboot and are getting a



    400 Bad Request: Unknown POST encoding in response.


    Any advice?

    Thanks

    -jc

    Last edited by mariano; 12-06-2017, 07:12 PM.

  • #2
    The curl command to reboot the xPico Wi-Fi via the WebAPI is:

    curl --anyauth -u admin:PASSWORD http://xx.xx.xx.xx/action/status -X POST -d "group=Device&action=Reboot"

    Comment

    Working...
    X