Changes between Version 1 and Version 2 of Ticket #56922, comment 16
- Timestamp:
- 09/15/2023 08:53:12 PM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56922, comment 16
v1 v2 32 32 5. Record the ID value. 33 33 6. Install and activate the https://github.com/WP-API/Basic-Auth plugin to simplify the authentication of REST requests. 34 7. 🐞Make a REST request to the template parts endpoint. Replace `admin:password` with your admin credentials and `<template_part_id>` with the ID value from step 5.34 7. Make a REST request to the template parts endpoint. Replace `admin:password` with your admin credentials and `<template_part_id>` with the ID value from step 5. 35 35 {{{ 36 36 #!bash 37 37 curl http://path.to.your.wordpress.server/wp-json/wp/v2/template-parts/<template_part_id>/revisions -u "admin:password" 38 38 }}} 39 8. The following response will be received:39 8. 🐞 The following response will be received: 40 40 {{{ 41 41 #!js