From a31b4d6bcfb934d7228957826308a97c228fb4a9 Mon Sep 17 00:00:00 2001 From: Pedro de Carvalho
Date: Sun, 7 Apr 2024 17:21:04 +0800 Subject: [PATCH] Update links to curl documentation in authentication.md --- 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 2527ecd..0e3b542 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/http-auth) / [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 with CURL](https://ec.haxx.se/http/auth.html) / [RFC 7617](https://tools.ietf.org/html/rfc7617). For a simple command-line script example, just swap out USERNAME, PASSWORD, and HOSTNAME in this with their respective values: