Hi everybody, I am trying to teach myself how to interface with the REST API that ISPConfig 3.1 provides, I understand that I need to call the json.php file with function names as arguments, but how do I present authentication to the RESTful interface? Does it use standard HTTP authentication? Thank you very much in advance!
All functions have a session ID argument, you get this session ID from the login functions which has to be called first. Take a look at the SOAP api examples, they show hw to login and logout to et and close an api session, the REST API has the same function names and arguments.
Awesome thank you! I looked into SOAP API examples and now it is much more clear on what needs to be done before and after the session is set.