The wp-remote-get tag has no wiki summary.
0
votes
1answer
68 views
calling admin-ajax.php from admin-ajax.php
I'm writing a plugin that calls the output of another plugin's ajax, which is set-up at wp_ajax_
I would have called the functions directly, but limitations in the plugin make that a non-option.
To ...
0
votes
1answer
97 views
wp_remote_get vs. file_get_contents vs. cURL?
I need to fetch the contents of a remote file. Which is better for performance - wp_remote_get, file_get_contents, or cURL?
How exactly does wp_remote_get work? Can you suppress errors, ex. ...
0
votes
1answer
136 views
wp_remote_get with Google Books API
Trying my hand at pulling some info from Google API, and having a bit of trouble. My code:
$body = array(
'intitle' => 'Test', //Returns results where the text following this keyword is found ...
0
votes
1answer
92 views
AJAX request not routing through proxy
I've built a plugin that uses AJAX to post a URL to the URL2PNG API and bring back a screenshot into WordPress via wp_remote_get. It works beautifully in my development environment. In production, ...
1
vote
1answer
143 views
wp_remote_get vs. fetch_feed ? which is the better for performance?
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 ; @Serkan suggest to me , using ...
0
votes
2answers
364 views
Issues with downloading a file with wp_remote_get()
I'm using wp_remote_get() to download a remote file with the following URL:
...
1
vote
1answer
243 views
On Plugin Activation, How Do I Check for Proper Transport Mechanism?
For a plugin that communicates with somewhere else, I hear we're supposed to use wp_remote_post and wp_remote_get instead of PHP's Curl library.
Okay, but is there a fast and proper way on plugin ...
3
votes
1answer
370 views
wp_remote_get(), downloading and saving files
From what I can see wp_remote_get() saves remote file contents to memory.
The files that I need to download are compressed in either ZIP or GZIP and within which will either be a CVS or XMl file
...
1
vote
4answers
625 views
using wp_remote_get to retrieve own url on local host
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);
...
0
votes
1answer
420 views
How to write txt file?
I have 2 functions about the wp_remote_get.
I wanna write all data ( functions output ) into the txt file ? How to ?
the functions;
// facebook
function hayransayisi(){
$fb_id = ...