Title: Problems with REST API
Last modified: August 25, 2022

---

# Problems with REST API

 *  Resolved [mrblab24](https://wordpress.org/support/users/mrblab24/)
 * (@mrblab24)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/problems-with-rest-api/)
 * Hi there, I am working with an app which is based on a wordpress site with the
   wp recipe maker plugin. My client is an elite member of this plugin.
 * The problem is you are providing only one rest api endpoints.
 * Here it is: [https://demo.wprecipemaker.com/wp-json/wp/v2/wprm_recipe/41](https://demo.wprecipemaker.com/wp-json/wp/v2/wprm_recipe/41)
 * With that how can I categories the data? This api doesn’t provide any category
   and comments information. Also the recipe id doesn’t match with post id.
 * With this single endpoint, I can only list the recipes. I can’t categories the
   data.
 * Also your rating api is not working. [https://bootstrapped.ventures/wp-json/wp-recipe-maker/v1/rating/123](https://bootstrapped.ventures/wp-json/wp-recipe-maker/v1/rating/123)
 * I tried on my site too, this is not working.
 * I need to know about how can I categories the data, Is there any other endpoints?
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/problems-with-rest-api/#post-15950405)
 * I just answered your email to our support address and will copy the same answer
   here. Let’s continue the conversation via email as it’s easier to handle support
   there.
    ​ ​We make use of the regular WordPress REST API. Recipes are a custom
   post type with their own Recipe Taxonomies so they can be accessed through the
   endpoints that WordPress provides. ​ ​This gives you access to the recipe fields,
   but the idea of WP Recipe Maker is that you add recipes as part of a regular 
   post. So I’d use the endpoints to get a list of those posts (and their categories)
   and then check what recipe ID is inside. ​ ​The rating endpoint should work fine
   to access individual ratings. Make sure the ID is correct and that you are authenticated.
   123 is just an example.
 *  Thread Starter [mrblab24](https://wordpress.org/support/users/mrblab24/)
 * (@mrblab24)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/problems-with-rest-api/#post-15956447)
 * Hi there, I can’t find any recipe id from a post with wp rest API and can’t find
   the post id from your custom endpoints.
    [https://metukimil.co.il/wp-json/wp/v2/posts/15681](https://metukimil.co.il/wp-json/wp/v2/posts/15681)
 * You can check this URL and let me know where is the recipe id.
 * Thanks
 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/problems-with-rest-api/#post-15956678)
 * The ID of the recipe in that post is 799687, which you can get from the wprm-
   recipe-container class which has a data-recipe-id.
 * You can also get it programmatically like this: [https://help.bootstrapped.ventures/article/110-access-recipes-in-a-post-via-code](https://help.bootstrapped.ventures/article/110-access-recipes-in-a-post-via-code)
 *  Thread Starter [mrblab24](https://wordpress.org/support/users/mrblab24/)
 * (@mrblab24)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/problems-with-rest-api/#post-16471307)
 * Hi there, The link you are sharing for getting the recipes in a post via code
   is not showing where to put them or use them. I am not an php developer. So, 
   I don’t know where to put the codes and how to use them. Can you please help 
   me with that?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problems with REST API’ is closed to new replies.

 * ![](https://ps.w.org/wp-recipe-maker/assets/icon-256x256.png?rev=2967063)
 * [WP Recipe Maker](https://wordpress.org/plugins/wp-recipe-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-recipe-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-recipe-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-recipe-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-recipe-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-recipe-maker/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [mrblab24](https://wordpress.org/support/users/mrblab24/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/problems-with-rest-api/#post-16471307)
 * Status: resolved