RADIUSdesk

This is an old revision of the document!


CoovaChilli JSON Interface

Introduction

  • If CoovaChilli is compiled with JSON support it exposes a JSON interface on the controller.
  • This document will discuss the technical workings of the JSON interface.
  • In order to have access to the JSON interface you have to be on the same network served by CoovaChilli, this means you have to be connected to the hotspot in plain english.

The JSON interface methods

  • The JSON interface has three endpoints exposed. They are
    • status Report on the current status of the client from which you are making the call
    • logon Used to log a user onto the captive portal. Needs a valid RADIUS username and encrypted password.
    • logoff Used to disconnect a user that has an active session on the captive portal.

We will now unpack each of these endpoints in their own dedicated session

status

logon

llogoff