Calling wp_remote_get for a URL on our site

mab 9 months ago updated by John-Paul B (Content Marketing Coordinator) 9 months ago 1

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?


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,