From 09a5ab2dd0a78923a240d0174e2bb0676b84292d Mon Sep 17 00:00:00 2001 From: Vipul Gupta Date: Wed, 4 Jun 2025 18:53:24 +0530 Subject: [PATCH] fix: Basic auth links in Rest API. --- using-the-rest-api/authentication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/using-the-rest-api/authentication.md b/using-the-rest-api/authentication.md index f36c386..af75a89 100644 --- a/using-the-rest-api/authentication.md +++ b/using-the-rest-api/authentication.md @@ -59,7 +59,7 @@ Note that you do not need to verify that the nonce is valid inside your custom e As of 5.6, WordPress has shipped with [Application Passwords](https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/), which can be generated from an Edit User page (wp-admin -> Users -> Edit User). -The credentials can be passed along to REST API requests served over https:// using [Basic Auth](https://ec.haxx.se/http/auth.html) / [RFC 7617](https://tools.ietf.org/html/rfc7617) — [here’s the documentation for how to use it with cURL](https://ec.haxx.se/http/http-auth). +The credentials can be passed along to REST API requests served over https:// using [Basic Auth](https://ec.haxx.se/libcurl-http/auth.html#basic) / [RFC 7617](https://tools.ietf.org/html/rfc7617) — [here’s the documentation for how to use it with cURL](https://ec.haxx.se/http/auth.html). For a simple command-line script example, just swap out USERNAME, PASSWORD, and HOSTNAME in this with their respective values: