REST API: How to Use WordPress as a Data Provider
summary
How to use the WordPress REST API to turn a site into a data provider for web and mobile apps, including creating custom endpoints, adding authentication for private requests, and caching API responses to improve performance. The talk covers techniques to expose, customize and protect WordPress data, best practices to keep REST development maintainable, and a practical case showing a custom Translations API endpoint reused across multiple company platforms with caching for speed and scalability.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:53What is REST API
- 3:38Default endpoints
- 5:03Custom endpoints benefits
- 6:30Case study
- 7:34Problem and challenges
- 10:48Solution and authentication
- 13:59Performance optimization
- 17:54Final results
- 18:59Handling untranslatable data
- 20:47Results and benefits
- 21:52Centralized content management
- 22:44Q&A
