mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
docs: update API authentication example to use x-api-key header
This commit is contained in:
@@ -34,7 +34,7 @@ Let's take a example of authenticated request:
|
|||||||
curl -X 'GET' \
|
curl -X 'GET' \
|
||||||
'https://dokploy.com/api/project.all' \
|
'https://dokploy.com/api/project.all' \
|
||||||
-H 'accept: application/json'
|
-H 'accept: application/json'
|
||||||
-H 'Authorization: Bearer YOUR-TOKEN'
|
-H 'x-api-key: YOUR-GENERATED-API-KEY'
|
||||||
```
|
```
|
||||||
then you will get the something like this:
|
then you will get the something like this:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user