aRESTful Development
with the Wordpress API
By Jeremy Lindblom (@jeremeamia)
Slide 2
Slide 2 text
@jeremeamia
Slide 3
Slide 3 text
Stuff I Work On
✘ API Designs
✘ API Clients ( e.g., AWS SDK for PHP )
✘ API Reviews
✘ API Documentation
✘ PHP Libraries ( e.g., Guzzle )
✘ Testing & Code Quality
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
“There's
always
money in
the banana
stand!”
Slide 6
Slide 6 text
http://v2.wp-api.org
Slide 7
Slide 7 text
UI
API
Slide 8
Slide 8 text
API
Slide 9
Slide 9 text
API
Slide 10
Slide 10 text
“Headless”
WordPress
Slide 11
Slide 11 text
“Come on!”
Slide 12
Slide 12 text
Getting Started
Installing Support for the WP REST API
Types of Authentication
➔ Cookies + NONCE
➔ Designed for JavaScript
➔ Use within themes/plugins
➔ Session-based
➔ Safe for HTTP
✘ Cookie Authentication
✘ OAuth Authentication
✘ Application Passwords
✘ Basic Auth