WordPress / Learn

WordPress.org Learn - The canonical source for the code and content behind https://learn.WordPress.org
276 stars 101 forks source link

Tutorial - WP REST API - Custom Fields, Authentication #1316

Closed jonathanbossenger closed 1 year ago

jonathanbossenger commented 1 year ago

Topic Description

So far, you've learned how to access core WordPress data using the REST API and the Backbone.js client, as well as how to create, delete, and update Posts. In this session, we will look at how to create or update custom field values in your REST API endpoints, the built-in authentication options for authenticating WP REST API requests, and how to test REST API routes and endpoints using a third party too.

Related Resources

Links to related content on Learn, HelpHub, DevHub, GitHub Gutenberg Issues, DevNotes, etc.

Guidelines

Review the team guidelines

Tutorial Development Checklist

jonathanbossenger commented 1 year ago

Script: https://github.com/jonathanbossenger/wp-content/blob/main/tutorials/wp-rest-api-03-custom-fields-authentication.md

jonathanbossenger commented 1 year ago

https://user-images.githubusercontent.com/180629/217823619-e2dc1ecf-643c-4138-b2ac-895022713c97.mp4

The tutorial is ready for review.

Note to the reviewer, at the 0:28 mark I intend to replace that slide with a shot of the tutorial on Learn WordPress, but it's still in review. So as soon as it's published I'll update the video.

courtneyr-dev commented 1 year ago

This is great pacing. It really helps break down how to get started with Rest API in custom fields.

jonathanbossenger commented 1 year ago

Published https://learn.wordpress.org/tutorial/wp-rest-api-custom-fields-authentication-and-testing/