SlideShare a Scribd company logo
Jonathan Bossenger
Let’s Code
Learn.WordPress.org
Interacting with the WordPress REST API
2
👋🏽
Welcome!
As you join, please make sure you have your local
development environment ready:
• A local WordPress installation
• A code editor like VSCode or Sublime
• The example plugin
• https://github.com/jonathanbossenger/wp-
learn-rest-api/releases/download/0.0.2/wp-
learn-rest-api.0.0.2.zip
Then, let everyone know in the chat where you’re
joining us from…
Hello!
○ My name is Jonathan Bossenger
○ From Cape Town, South Africa
○ Ex-developer turned code instructor
○ Sponsored contributor at Automattic
○ @jon_bossenger in Twitter
Learn.WordPress.org
Let's code!
Interacting with the
WordPress REST API
Jonathan Bossenger
Announcements
○ Welcome, and thanks to Leo for co-hosting!
○ We are presenting in focus mode, but please feel free to enable your video.
○ You are welcome to ask questions.
○ You are welcome to post questions in the chat, or unmute to ask questions.
Announcements
○ Make sure your local install is ready
○ https://github.com/jonathanbossenger/wp-learn-rest-
api/releases/download/0.0.2/wp-learn-rest-api.0.0.2.zip
○ If I am going too fast, please let me know!
○ We will be posting this session to https://wordpress.tv/ afterwards
○ For more WordPress focused content please visit https://learn.wordpress.org/
Learning Outcomes
1. The WP REST API Endpoint reference
• Review the Posts schema
2. Interacting with the WP REST API using the Backbone.js client
• Creating a Post
• Deleting a Post
3. API Testing tool - Postman (time allowing)
Objectives 1
1. Setup and review the example plugin
2. Learn to read and understand the REST API Schema
3. Update the plugin to create Posts
4. Update the plugin to delete Posts
5. Some JavaScript refactoring
7
8
Let’s code.
Resources
○ https://github.com/jonathanbossenger/wp-learn-rest-api/releases/download/0.0.2/wp-learn-rest-
api.0.0.2.zip
○ https://github.com/jonathanbossenger/wp-learn-rest-api/
○ https://developer.wordpress.org/rest-api/
○ https://developer.wordpress.org/rest-api/reference/
○ https://developer.wordpress.org/rest-api/reference/posts/
○ https://www.postman.com/downloads/

More Related Content

PDF
Construindo um data warehouse com Pentaho e Docker
PPTX
Kamailio World 2014 - Kamailio - The Platform for Interoperable WebRTC
PDF
Http Parameter Pollution, a new category of web attacks
PPTX
Email use in business ppt
PDF
Overview of Database and Database Management
PPT
Gmail account step
PPTX
Using the WP REST API
PPTX
Let's code: extending the WP REST API - modifying responses
Construindo um data warehouse com Pentaho e Docker
Kamailio World 2014 - Kamailio - The Platform for Interoperable WebRTC
Http Parameter Pollution, a new category of web attacks
Email use in business ppt
Overview of Database and Database Management
Gmail account step
Using the WP REST API
Let's code: extending the WP REST API - modifying responses

Similar to Interacting with the WP REST API (20)

PPTX
WP REST API Authentication, custom fields and updating resources
PPTX
Developing Blocks without React - Block Supports.pptx
PPTX
WordPress Plugin Security
PPTX
Let's code: custom content & custom capabilities
PPTX
Let's code: developing WordPress User Roles and Capabilities
PPTX
Debugging in WordPress
PPTX
Testing plugins for PHP 8
PPTX
Preventing CSRF Security Vulnerabilities.pptx
PPTX
Preventing Common Security Vulnerabilities
PPTX
Let's code: WordPress multisite experiments
PPTX
Help test WordPress - developer edition
PPTX
Let's code! Converting a Shortcode into a Block
PPTX
Developing for multisite
PPTX
Let's code_ WP REST API - custom routes and endpoints.pptx
PPTX
Developing Blocks without React - Controls.pptx
PPTX
Common WordPress APIs - Dashboard Widgets
PPTX
Using Block Patterns in your Block Theme.pptx
PPTX
Developing Blocks without React - Part 1
PPTX
Common WordPress APIs_ Internationalization
PPTX
Common WordPress APIs_ Settings API
WP REST API Authentication, custom fields and updating resources
Developing Blocks without React - Block Supports.pptx
WordPress Plugin Security
Let's code: custom content & custom capabilities
Let's code: developing WordPress User Roles and Capabilities
Debugging in WordPress
Testing plugins for PHP 8
Preventing CSRF Security Vulnerabilities.pptx
Preventing Common Security Vulnerabilities
Let's code: WordPress multisite experiments
Help test WordPress - developer edition
Let's code! Converting a Shortcode into a Block
Developing for multisite
Let's code_ WP REST API - custom routes and endpoints.pptx
Developing Blocks without React - Controls.pptx
Common WordPress APIs - Dashboard Widgets
Using Block Patterns in your Block Theme.pptx
Developing Blocks without React - Part 1
Common WordPress APIs_ Internationalization
Common WordPress APIs_ Settings API
Ad

More from Jonathan Bossenger (20)

PPTX
New WordPress Developer APIs The Interactivity API
PPTX
The WordPress HTML API
PPTX
The WordPress Create Block tool
PPTX
PHP compatibility testing with PHPCompatibilityWP
PPTX
Common WordPress APIs - Options API
PPTX
Common WordPress APIs_ HTTP API.pptx
PPTX
Common WordPress APIs: Metadata
PPTX
What’s new for developers_ (August 2023).pptx
PPTX
Testing your plugins for PHP version compatibility
PPTX
Common WordPress APIs_ Global Variables
PPTX
Testing WordPress 6.3 - Developer edition
PPTX
Common WordPress APIs: Responsive Images
PPTX
Custom Tables in WordPress
PPTX
The WordPress Database
PPTX
WordPress Coding Standards
PPTX
Managing a WordPress Multisite Network
PPTX
Introduction to WordPress Multisite Networks
PPTX
Custom Post Types and Capabilities.pptx
PPTX
Developing WordPress User Roles and Capabilities
PPTX
Creating a WordPress multisite network
New WordPress Developer APIs The Interactivity API
The WordPress HTML API
The WordPress Create Block tool
PHP compatibility testing with PHPCompatibilityWP
Common WordPress APIs - Options API
Common WordPress APIs_ HTTP API.pptx
Common WordPress APIs: Metadata
What’s new for developers_ (August 2023).pptx
Testing your plugins for PHP version compatibility
Common WordPress APIs_ Global Variables
Testing WordPress 6.3 - Developer edition
Common WordPress APIs: Responsive Images
Custom Tables in WordPress
The WordPress Database
WordPress Coding Standards
Managing a WordPress Multisite Network
Introduction to WordPress Multisite Networks
Custom Post Types and Capabilities.pptx
Developing WordPress User Roles and Capabilities
Creating a WordPress multisite network
Ad

Recently uploaded (20)

PPTX
sap open course for s4hana steps from ECC to s4
PDF
Electronic commerce courselecture one. Pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
MYSQL Presentation for SQL database connectivity
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Approach and Philosophy of On baking technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
sap open course for s4hana steps from ECC to s4
Electronic commerce courselecture one. Pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Dropbox Q2 2025 Financial Results & Investor Presentation
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Programs and apps: productivity, graphics, security and other tools
Per capita expenditure prediction using model stacking based on satellite ima...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
MYSQL Presentation for SQL database connectivity
gpt5_lecture_notes_comprehensive_20250812015547.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Approach and Philosophy of On baking technology
Big Data Technologies - Introduction.pptx
Spectral efficient network and resource selection model in 5G networks
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

Interacting with the WP REST API

Editor's Notes

  • #2: TITLE SLIDE: Make a copy of this presentation to your Google Drive, and edit to replace with your details.