From 62ba878fed6a4c2989ed7db465b5ec12854662cd Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 3 Nov 2023 19:14:27 +0100 Subject: [PATCH] Fix copy-paste error in the suggested URI Signed-off-by: DL6ER --- docs/api/auth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/auth.md b/docs/api/auth.md index fdcd6cc..e231a3b 100644 --- a/docs/api/auth.md +++ b/docs/api/auth.md @@ -135,7 +135,7 @@ You can use this SID from this point to authenticate your requests to the API. Once you have a valid SID, you can use it to authenticate your requests. You can do this in four different ways: -1. In the request URI: `http://pi.hole/admin/api.php?sid=vFA+EP4MQ5JJvJg+3Q2Jnw=` +1. In the request URI: `http://pi.hole/admin/api/info/version?sid=vFA+EP4MQ5JJvJg+3Q2Jnw=` 2. In the payload of your request: `{"sid":"vFA+EP4MQ5JJvJg+3Q2Jnw="}` 3. In the `X-FTL-SID` header: `X-FTL-SID: vFA+EP4MQ5JJvJg+3Q2Jnw=` 4. In the `sid` cookie: `Cookie: sid=vFA+EP4MQ5JJvJg+3Q2Jnw=`