Remote API Question

2 posts / 0 new
Last post
#1 Mon, 04/27/2015 - 22:53
CrunchyToast

Remote API Question

Looking in to the CLI and Remote API, there are some pretty neat features I can do. One issue I have (and need most) is being able to use the 'modify-dns' command. I can use it just fine through the CLI, but I cannot use it via remote API. Is there a way that I can use 'modify-dns' via remote API?

I know that I ca exec('su -c virtualmin modify-dns') but not sure if it will work or not as I'm still new to PHP.

Any help would be amazing. Thank you in advance!

Tue, 04/28/2015 - 01:16
CrunchyToast

Nevermind. I must have had a typo earlier when I attempted the remote API for modify-dns. I just attempted it right now and it worked perfectly. Wow. Frustration.

Topic locked