0
Answered

Calling wp_remote_get for a URL on our site

mab 1 week ago in Technical Support / WordPress updated by John-Paul B (Content Marketing Coordinator) 1 week 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?

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