• Hi, I’ve exported my live DB and copied it to a staging environment and my local environment. I can see the popular posts on my live and local sites but not the staging one. When I visit the endpoint “/wp-json/top-10/v1/popular-posts/” on the staging site I get an empty page (as opposed to live and local where I get data). I can’t figure out what is preventing it on running on my staging environment (staging is a LAMP server, live is LEMP, local is on a Mac). Any ideas?

Viewing 1 replies (of 1 total)
  • Plugin Author Ajay

    (@ajay)

    Are you able to see if any errors generated in your error log?

    Also by any chance does your staging site have endpoints disabled?

Viewing 1 replies (of 1 total)
  • The topic ‘API endpoint not returning data’ is closed to new replies.