I have been tasked with writing a script that will reboot a Cisco RV340. According to this user, this can be done via restconf and curl: https://community.cisco.com/t5/small-business-routers/reboot-rv34xx-devices-with-snmp/m-p/4459686/highlight/true#M41831
When I try to run the same command, curl reports the following:
curl: (8) Header without colon
And the device does not reboot.
So how do I proceed? Is there another way to send restconf requests besides curl?