File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ Test it via:
167167# export rc file
168168export $( cat " $XDG_CONFIG_HOME /api_guard/api_guard.rc" | grep -v ' ^#' | xargs)
169169# run a simple request in another shell:
170- curl http://127.0.0.1:${APIGUARD_PORT}${APIGUARD_SLUG} /request_access
170+ curl -H " Authorization: Bearer $API_GUARD_KEY " http://127.0.0.1:${APIGUARD_PORT}${APIGUARD_SLUG} /request_access
171171```
172172
173173### Running the Service in Production
@@ -194,7 +194,7 @@ Test it via:
194194# export api_guard.rc file
195195export $( cat " $XDG_CONFIG_HOME /api_guard/api_guard.rc" | grep -v ' ^#' | xargs)
196196# run a simple request
197- curl http://127.0.0.1:${APIGUARD_PORT}${APIGUARD_SLUG} /request_access
197+ curl -H " Authorization: Bearer $API_GUARD_KEY " http://127.0.0.1:${APIGUARD_PORT}${APIGUARD_SLUG} /request_access
198198```
199199
200200### Running the Service via Docker Container
@@ -228,7 +228,7 @@ curl http://127.0.0.1:${APIGUARD_PORT}${APIGUARD_SLUG}/request_access
228228 # export api_guard.rc file
229229 export $( cat " $XDG_CONFIG_HOME /api_guard/api_guard.rc" | grep -v ' ^#' | xargs)
230230 # run a simple request
231- curl http://127.0.0.1:${APIGUARD_PORT}${APIGUARD_SLUG} /request_access
231+ curl -H " Authorization: Bearer $API_GUARD_KEY " http://127.0.0.1:${APIGUARD_PORT}${APIGUARD_SLUG} /request_access
232232 ` ` `
233233# ## Furhat Kotlin Client Example
234234
You can’t perform that action at this time.
0 commit comments