Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Perform the "Basic Authentication" request with CURL using WordPress plugin "Application Passwords". Read more at https://maheshwaghmare.com/doc/application-passwords/
curl --user "admin:mK7M wZmN Fuj5 IKYF XUAv EZ8H" -X POST -d "title=Rest API Post 2" http://localhost/dev.test/wp-json/wp/v2/posts/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment