Calling wp_remote_get for a URL on our site

Avatar
  • updated
  • Answered

I want to call wp_remote_get for a URL on our site (to assemble a report based on the content of multiple pages). The call times out, but a test cal to an external site works; so I assume internal requests are blocked. How do I allow the internal wp_remote_get to return a response?

Avatar
IMH Support Agent 1
  • Answered

Hello mab,

Thank you for contacting us about calling a remote get on your site. If it is being blocked by your server, your apache error log should log a message explaining why. I recommend checking that first. If your problems persist, it may be better to contact Live Support, so they can test within your specific account.

Thank you,

John-Paul