1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/docs/api/basic-auth.md
Christopher Kolstad c224786f29
feat: update docs to match v4.
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-05-18 11:19:33 +02:00

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.