How to Remotely Upload an XML Configuration File in OPNsense?

Started by Gnark, November 17, 2023, 01:56:42 PM

Previous topic - Next topic
Hi,
I would like to be able to update the configuration of OPNsense by sending it the config.xml file from which it should perform a restore. I haven't found an endpoint in the API that allows this, and sending an HTTP POST request seems complicated. Does anyone have an idea of how to accomplish this? Thanks in advance.