Discussion in 'Developers' Forum' started by boldbesusiax, Oct 13, 2016.

  1. boldbesusiax

    boldbesusiax New Member

    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!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
  3. boldbesusiax

    boldbesusiax New Member

    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.

Share This Page