mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update api.md
This commit is contained in:
parent
e26d75c0fd
commit
f77315cefa
@ -9,23 +9,26 @@ Use the API Access section to interact with the OpenPanel API directly from your
|
||||
To begin:
|
||||
|
||||
1. **Enable API Access**
|
||||
Toggle the Enable API Access option to activate the interface for testing API requests.
|
||||
|
||||
Toggle the Enable API Access option to activate the interface for testing API requests.
|
||||
|
||||
2. **Fill the Request Form**
|
||||
Once enabled, you will see a form with the following fields:
|
||||
|
||||
- **GET** – Choose the HTTP method (currently supports GET).
|
||||
- **GET** – Choose the HTTP method (currently supports GET).
|
||||
|
||||
- **URL** – Enter the API endpoint you wish to call.
|
||||
- **URL** – Enter the API endpoint you wish to call.
|
||||
|
||||
- **TOKEN** – Paste your authentication token for authorization.
|
||||
- **TOKEN** – Paste your authentication token for authorization.
|
||||
|
||||
- **DATA** – (Optional) Provide any data or parameters required by the endpoint.
|
||||
- **DATA** – (Optional) Provide any data or parameters required by the endpoint.
|
||||
|
||||
3. Send Request
|
||||
Click the Send Request button to execute the API call.
|
||||
|
||||
4. View API Logs and Curl command
|
||||
After making a request, the response, curl command and log details will appear at the bottom. This includes request info, server response, status codes, and any error messages.
|
||||
Click the Send Request button to execute the API call.
|
||||
|
||||
5. View API Logs and Curl command
|
||||
|
||||
After making a request, the response, curl command and log details will appear at the bottom. This includes request info, server response, status codes, and any error messages.
|
||||
|
||||
For full API reference and additional endpoints, please visit our detailed documentation: https://dev.openpanel.com/api/
|
||||
|
Loading…
Reference in New Issue
Block a user