This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user_guide:user_registration_api [2021/02/08 09:56] – [API] admin | user_guide:user_registration_api [2021/02/08 10:14] (current) – [Finding the login_page_id] admin | ||
---|---|---|---|
Line 33: | Line 33: | ||
| mac | 28-D2-44-20-AA-00 | | mac | 28-D2-44-20-AA-00 | ||
| login_page | | login_page | ||
+ | | login_page_id | ||
| name | Dirk | | name | Dirk | ||
| surname | | surname | ||
Line 38: | Line 39: | ||
| password | | password | ||
| phone | 0721235555 | | phone | 0721235555 | ||
+ | |||
+ | ==== Finding the login_page_id ==== | ||
+ | * See the following screenshot to get to the login_page_id | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | * The first hidden column contains the value of login_page_id. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
==== A Word On The MAC Address ==== | ==== A Word On The MAC Address ==== | ||
Line 45: | Line 59: | ||
* When we create something like a mobile app and want to allow someone to register **without being connected to the Captive Portal**, we can still supply the MAC address of the device using the app. | * When we create something like a mobile app and want to allow someone to register **without being connected to the Captive Portal**, we can still supply the MAC address of the device using the app. | ||
* Here is some info on how to get it programmatically: | * Here is some info on how to get it programmatically: | ||
+ | |||
+ | ==== Reply - Success ==== | ||
+ | |||
+ | * This is typically what a successful reply will look like | ||
<code javascript> | <code javascript> | ||
{ | { | ||
Line 69: | Line 87: | ||
</ | </ | ||
+ | ==== Reply - Failure ==== | ||
+ | * This is a typical message if someone tries to register twice from the same device | ||
<code javascript> | <code javascript> | ||
{ | { |