It is possible to do HTTP DIGEST authentication with wp_remote_get()
, but it’s somewhat complicated. I’ve written a short wrapper function you can use.
Related Posts:
- How to consume and display external data in WordPress from another website
- How to control accept encoding on HTTP API requests?
- How do I mock HTTP requests for PHPUnit?
- Mutual Authentiction on HTTPS with WordPress HTTP API?
- How to use WordPress HTTP API to download file from remote location
- Error timed out with succesfull wp_remote_post
- Difference between wp_remote_post and wp_safe_remote_post
- cURL vs WP_Http for safety?
- Posting an XML request using HTTP API
- Is it possible to process $_POST / inbound http request in way to automatically create WordPress post?
- What’s the best way to detect referrer?
- using wp_remote_get to retrieve own url on local host
- Behind-the-scenes HTTP Request?
- Sending JSON Payload using Request::request_multiple()
- wp remote post getting a 404 error code
- wp_remote_request header error even though working properly with cURL
- Proper context for wp_remote_post()
- http_response_timeout filter not working
- How to add code to HTTP header
- Need help creating asynchronous data scraper in WordPress
- Using WP_Http to post data to Webservice without blocking caller script
- How to use the HTTP API (wp_remote_get) instead of cURL?
- Sending JSON string through wp_remote_post()
- using wp_remote_get instead of file_get_contents [duplicate]
- wp_remote_get(), downloading and saving files
- How to add Request header in WordPress remote api calls
- How to wp_upload_bits() to a sub-folder?
- Hook into WordPress update?
- rewrite script to use wp_remote_get instead of file_get_contents_curl
- How to run multiple Async HTTP requests in WordPress?
- WP_Http_Cookie destroys cookie value through urldecode()
- wp_remote_get – cURL error 28 – only on same domain
- POST to a REST API from a wordpress form
- wp_remote_get vs. fetch_feed ? which is the better for performance?
- What’s a simple but secure method to get file contents into WordPress?
- API JSON Data in WordPress
- wp_remote_get keeps timing out
- Storing an XML Response (Transient)?
- How do I get URL from WP_HTTP object?
- What is the official way to consume the WordPress API? (api.wordpress.org)
- How to duplicate a curl XML request using HTTP API?
- Inconsistent server code response using HTTP API
- WP_Remote_Get Not working
- Does WordPress’s HTTP API use any caching?
- Remove caching from wp_remote_get calls from custom plugin
- Most performant way of fetching remote API data?
- How to Download and install plugin database remotely
- On Plugin Activation, How Do I Check for Proper Transport Mechanism?
- How deactivate the http-api
- How to make Http Request to a php file present in plugin directory of wordpress
- wp_remote_get() and javascript/noscript situation
- Cache WP remote_get HTTP Response using Transients
- wp_remote_get adding backslashes
- WP Remote Request not returning all of content via request
- Cannot parse results from wp_remote_get
- wp_remote_get – curl error 28 connection timed out – using SANS in URL
- How to make a implement queue for scheduling tasks in WordPress?
- XML-code sent via the POST method to the URL (API) [closed]
- How to create a WP Cron hooks based on schedules from Advanced cron manager plugin?
- Strange Situation When Try To Retrieve Github Gist Using wp_remote_get
- How do I create an rssfeed from the contents on this page?
- WP http XML response HTML encoding and image display problems
- WP_Http response throws “Cannot use object of type WP_Error as array”
- Passing cookies when using wp_remote_get
- Where would I put my call to wp_remote_get?
- Fetching data from another website results in a slow website?
- Errors on a single host using wp_remote_get() unless sslverify is set to false
- wp_remote_post empty $_POST
- External HTTP API calls slowing down WordPress admin [closed]
- How to rewrite this file_get_contents() snippet using wp_remote_get()
- Send a get request to wordpress
- Why does WP HTTP API switch the method (POST/PURGE) to GET when redirecting (302)?
- wp_remote instead of file_get_contents on non json
- how get number of twitter followers in wordpress
- calling admin-ajax.php from admin-ajax.php
- AJAX request not routing through proxy
- How to write txt file?
- Proxy External API request in PHP from Edit.js in Block Plugin
- Simulating timeout is not working
- Properly loop through and paginate page on each function call
- HTTP API CALLS issue on Woocommerce WordPress
- WP_Insert_Post creating duplicate posts when logged in
- Call external API in wordpress based on user input
- Remove unwanted fields from WP API response
- Use wp_remote_get() with a private or password protected page?
- How to receive JSON payload from a digital device
- How to import the data to the post from an external URL?
- pulling in external JSON search results into WordPress
- Install plugin on remote wordpress
- add pagination to wp_remote_get
- Creating custom URLs with template to fetch external JSON
- GET web api method from a WordPress PHP script
- Remotely get WordPress theme version
- Is it possible to load an admin page inside a thickbox?
- Should I use transients for these API call results?
- wp_remote_get() never fires
- saving file to external server vip
- wp_remote_get with Google Books API
- Create plugin/function to catch XML-data via Shortcode
- Why is this specific API request failing when sending via wp_remote_post?