mirror of
https://github.com/hak5darren/wifipineapple-wiki.git
synced 2025-10-29 16:59:29 +00:00
Changed minimal -> minimum
This commit is contained in:
parent
8d5260348b
commit
dae6f8ecb7
2
api.md
2
api.md
@ -1,7 +1,7 @@
|
||||
# WiFi Pineapple Module API
|
||||
|
||||
## Introduction
|
||||
Unlike the old web interface, the back end of the new interface has been decoupled from the front end. All requests to perform system actions are sent as POSTs to `/api/`. The content of the POST is JSON and contains a minimal of two parameters.
|
||||
Unlike the old web interface, the back end of the new interface has been decoupled from the front end. All requests to perform system actions are sent as POSTs to `/api/`. The content of the POST is JSON and contains a minimum of two parameters.
|
||||
#### The first parameter key must be either `system` or `module`
|
||||
`system` is used for core system functions such as logging users in and performing system setup as well as managing notifications. `module` is used when sending a request to any of the default modules or to any user modules. The value is set to the module with which you are trying to communicate. For example, `"system": "notifications"` or `"module": "RandomRoll"`.
|
||||
#### The second parameter key `action`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user