I have a website in local development at test:8888 and I am trying to get the following to work in my functions.php file. $response = wp_remote_get( 'test:8888/?p=1' ); print_r($response);...
I m trying to share my web site contents for other web sites using by external loop file or rss file. when i asked some questions about wp_remote_get function...
I have a plugin which uses wp_remote_get() and it’s not working on my nginx server so I decided to test this. I created a file called test.php and inserted:...
I’m using the curl php library to get the instagram json feed from a given public profile. I want to use wp_remote_get() because on the host I’m using for...
I’m using Embedly to make it easy for a client to add news to their website – basically, they just input a URL, and Embedly grabs the link’s information,...
I’m trying to get a list of locations from a website called weedmaps. This is the code that I’m using: function call_for_api() { $url="https://api-v2.weedmaps.com/api/v2/listings"; $response = wp_remote_post( $url, array(...
I’m making a plugin that compares data from external API with meta items in WordPress backoffice. I tried using wp_remote_get method to query my API but it doesn’t return...
The scenario I’m developing a plugin, and part of it requires lots of text content (help descriptions) that I would prefer to keep as separate text files (in a...
I am developing a WordPress plugin and wants to run a background task that calls an API and updates database table. Now, the API can only give results for...
I need to use ntlm authentication for a remote call, and I’m not sure how to configure the wp_remote_get call to do so. I have used wp_remote_get successfully in...