From c044be55e55d5e3571123d908be2c6442271758f Mon Sep 17 00:00:00 2001 From: Carl Alberto Date: Fri, 15 May 2020 18:27:10 +0800 Subject: [PATCH] Adding an example curl request when creating a user --- reference/users.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reference/users.md b/reference/users.md index e7e34a4..adba831 100644 --- a/reference/users.md +++ b/reference/users.md @@ -498,6 +498,10 @@

Definition

POST /wp/v2/users + +

Example Request

+ + POST /wp/v2/users -d "username=username&name=myname&first_name=myfirstname&last_name=mylastname&email=user%40example.com&url=user.example.com&description=my%20description&locale=en_US&nickname=mynickname&slug=myslug&roles=subscriber&password=password1234"