Skip to content

Commit 526c55b

Browse files
committed
up
1 parent c28ac9e commit 526c55b

File tree

7 files changed

+75
-68
lines changed

7 files changed

+75
-68
lines changed

config/apiexample.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
// API KEY AUTHENTICATION SETTINGS
3737
// ------------------------------------------
3838
// Array of valid API keys (use long random strings in production)
39-
// Usage: curl -H "X-API-Key: changeme123" http://localhost/api.php?action=tables
40-
// Or: http://localhost/api.php?action=tables&api_key=changeme123
39+
// Usage: curl -H "X-API-Key: changeme123" http://localhost:8000?action=tables
40+
// Or: http://localhost:8000?action=tables&api_key=changeme123
4141
'api_keys' => ['changeme123'],
4242

4343
// Default role assigned to ALL API key users (since keys don't have individual roles)
@@ -48,7 +48,7 @@
4848
// BASIC AUTHENTICATION SETTINGS
4949
// ------------------------------------------
5050
// Config file users (simple but not recommended for production)
51-
// Usage: curl -u admin:secret http://localhost/api.php?action=tables
51+
// Usage: curl -u admin:secret http://localhost:8000?action=tables
5252
'basic_users' => [
5353
'admin' => 'secret', // username => password
5454
'user' => 'userpass',
@@ -199,4 +199,4 @@
199199
// 'redirect_uri' => '',
200200
// ],
201201
],
202-
];
202+
];

0 commit comments

Comments
 (0)