Last active
May 12, 2020 14:58
-
-
Save maheshwaghmare/5880f4e048c4c601e9764a630c252f6c to your computer and use it in GitHub Desktop.
Perform the "Basic Authentication" request with CURL using WordPress plugin "JSON Basic Authentication". Read more at https://maheshwaghmare.com/doc/basic-authentication/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --user "admin:admin" -X POST -d "title=Basic Auth Post 2" http://localhost/maheshwaghmare.com/wp-json/wp/v2/posts/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment