Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jan 13, 2011 9:29 am 
Offline

Joined: Thu Jan 13, 2011 9:20 am
Posts: 1
Website: http://www.kdwweb.info
I am attempting to take advantage of the remote API for virtualmin. When I attempt to create a non-existing domain it gives me that it exists for some reason.

why or what did I do wrong? here is the url to create it:

https://localhost:10000/virtual-server/ ... g&desc=The server for foo&unix&dir&webmin&web&dns&mail&limits-from-plan&json=1


Top
   
 Post subject:
PostPosted: Thu Jan 13, 2011 4:29 pm 
Offline
Senior Newbie
User avatar

Joined: Wed Jun 27, 2007 3:25 am
Posts: 7
Website: http://www.virtualmin.com
Unless whatever library you're using to make the request is automatically encoding your URL, your "desc" line is going to cause incorrect behavior. It needs to be quoted and encoded, if it has more than one word.

Try your request without the desc, and see if it behaves correctly. If so, then you'll just need to get it quoted and encoded properly (space is encoded as %20).

If that doesn't straighten it out, bring it over to us in the Virtualmin.com forums, along with the exact error message you're getting, and we'll help get it figured out. Also check the Webmin logs for clues (miniserv.error and webmin.log in /var/webmin).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group