Upload
andy-brudtkuhl
View
133
Download
3
Embed Size (px)
Citation preview
WordPress
WP Theme
Slack
Node.js
WordPress REST API
(+ extensions )
Request
Response
Traditional
Why Extend REST API
• WP REST API has a predefined data structure and response that may not work for you
• Custom Endpoints allow custom queries
• Include more data like custom fields in query and response
ALL THE LINKS• heykramer.com/api
API Definition, Auto Discovery
• heykramer.com/wpcodeWordPress Code
• heykramer.com/botcodeNode.js Code
• heykramer.com/blogBlog post about building everything