WP-API / docs-v2

Documentation for version 2 of the API
http://v2.wp-api.org
58 stars 76 forks source link

Http basic example #110

Closed georgestephanis closed 7 years ago

georgestephanis commented 8 years ago

Provide an additional example, this time via command line curl for testing purposes.

rmccue commented 8 years ago

If we add this, should also note that curl can take --user "user:pass" and will handle it for you; I'd hate people to be using the complex way all the time :)

kadamwhite commented 7 years ago

We've rolled back our coverage of basic-auth in the main rest API handbook docs because we're focusing people on in-browser cookie auth and pointing towards OAuth over basic auth; this usage is covered with the --user "user:pass" context on the basic auth README