WordPress REST API

Recipes are accessible through the WordPress REST API at the /wprm_recipe/ endpoint.

To read, send a GET request to the /wprm_recipe/<id> endpoint:

For creating a recipe, send a POST request to the /wprm_recipe/ endpoint and include that same kind of recipe array in the JSON body:

  "recipe": {
        "name": "My New REST API Recipe",
        "summary": "Delicious and not created in a traditional way."

For updating you’d do the same, but send a PUT request to the correct /wprm_recipe/<id> endpoint.