mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
18 lines
431 B
Markdown
18 lines
431 B
Markdown
|
---
|
||
|
id: basic-auth
|
||
|
title: Basic Auth
|
||
|
---
|
||
|
|
||
|
# Basic auth
|
||
|
|
||
|
When using the `insecure` authentication method, identifying using basic auth against the API is enough.
|
||
|
Since the `insecure` method doesn't require a password, it is enough to define the username when making HTTP requests.
|
||
|
|
||
|
### With curl
|
||
|
|
||
|
Add the `-u myemail@test.com` flag to your curl command.
|
||
|
|
||
|
### With wget
|
||
|
|
||
|
Add the `--user=myemail@test.com` flag to your wget command.
|