1
19.7 Legacy Series / API commands for Wireguard: how to "save" changes?
« on: January 20, 2020, 11:36:11 pm »
Hi,
I'm using the API to change wireguard settings (/server/toggleserver). This is reflected fine in the GUI, but it's not effective until I hit "save" in the GUI. I can't get it to directly "activate" using API commands. I've tried /general/set and it gives back {"result":"saved"} but it still doesn't work until I manually hit "Save" in the GUI on wireguard settings.
Any tips?
I'm using the API to change wireguard settings (/server/toggleserver). This is reflected fine in the GUI, but it's not effective until I hit "save" in the GUI. I can't get it to directly "activate" using API commands. I've tried /general/set and it gives back {"result":"saved"} but it still doesn't work until I manually hit "Save" in the GUI on wireguard settings.
Any tips?