Is it possible to create new user from external form using REST API?


I created a new user (called external) in a WordPress site with manage users capabilites. I installed Application Passwords plugin to generate a token for that user.
Now is it possibile to create a simple HTML form on a NON WordPress website to send POST request to /wp/v2/users with external user credentials to create new users? Alternatively is it possibile to use “vanilla” PHP only or do I have to use JavaScript/jQuery with Ajax?

icolumbro 4 months 0 Answers 12 views 0

Leave an answer