I found that the image must be in the element featured media but I found another link that leads to another link contains this message in French means ( Sorry, you do not have permission to do that.)

featured media rest forbidden please , how to solve this problem in wordPress ?


Use the _Embed at the end of your JSON call. It should look something like this:


That will give you both the json objects and include a the featured image url that you're looking for.


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.