This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user_guide:chilli:coova_json [2021/02/04 08:54] – [logon] admin | user_guide:chilli:coova_json [2021/02/04 09:07] (current) – [logoff] admin | ||
---|---|---|---|
Line 119: | Line 119: | ||
) | ) | ||
</ | </ | ||
+ | |||
+ | <WRAP center round tip 90%> | ||
+ | * You will replace **hotspot.radiusdesk.com** with the FQDN or IP Address of your own server | ||
+ | </ | ||
=== Call the logon JSON endpoint === | === Call the logon JSON endpoint === | ||
Line 178: | Line 182: | ||
- | ==== llogoff | + | ==== logoff |
+ | * The last JSON end point is **logoff** | ||
+ | * Here is the call and the results | ||
+ | * http:// | ||
+ | * Alternative | ||
+ | |||
+ | <code javascript> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | * Repsonse | ||
+ | |||
+ | <code javascript> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | * As you can see the reply is pretty much the same than logon but the **clientstate** is now **0** meaning it logged off fine. | ||
+ | |||