Commit 6ffc124
docs: Document Authorization: Bearer header for HTTP API auth
HTTP routes now accept the API key in either `X-API-Key` or
`Authorization: Bearer ${api_key}`. The Bearer scheme matching is
case-insensitive. When both headers are present `X-API-Key` takes
precedence.
Source: spiceai/spiceai#109111 parent 10d5d9f commit 6ffc124
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
0 commit comments