Quantcast
Channel: How to use the HTTP API (wp_remote_get) instead of cURL? - WordPress Development Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by DeltaG for How to use the HTTP API (wp_remote_get) instead of cURL?

So it looks like I've managed to fix my own problem here. I don't know if this is the best thinkable solution to this exact problem, but it does work!My assumptions about CURLOPT_FOLLOWLOCATION seem...

View Article



How to use the HTTP API (wp_remote_get) instead of cURL?

I'm running into a problemen while trying to change my cURL request into a request using the HTTP API.Below code is my (old) cURL request. Here I'm getting some contents from an external URL. This is...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>