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
- wp_http remote request not respecting timeout
- 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()
- Filter any HTTP request URI?
- using wp_remote_get instead of file_get_contents [duplicate]
- How to remove rest api link: in http headers?
- How to use the HTTP API with a Proxy?
- 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()
- HTTP request on localhost failing
- wp_remote_get vs. file_get_contents vs. cURL?
- parse XML from URL (via SOAP)
- wp_remote_get – cURL error 28 – only on same domain
- POST to a REST API from a wordpress form
- wp_remote_get() not retrieving pages properly
- How to get the generated query string of wp_remote_get?
- wp_remote_get returns an error for valid URL
- Connect external web app to wordpress
- wp_remote_get vs. fetch_feed ? which is the better for performance?
- How do I execute a wp_remote_get call using NTLM authentication?
- Is there any background process that I can run from plugin without depending on page hits on a website without affecting page-load speed?
- 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)
- Allow download_url for lan addresses
- Trying to get an api request getting error 404
- How to duplicate a curl XML request using HTTP API?
- How to set charset for wp_remote_post request?
- Use wp_remote_get to add image to media library
- wp_remote_post with ssl:// protocol
- Use wp_remote_get to get JSON instagram feed from public profile
- Extending WordPress REST API
- Inconsistent server code response using HTTP API
- WP_Remote_Get Not working
- Does WordPress’s HTTP API use any caching?
- How to convert this cURL to wp_remote_get?
- 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
- Return WP_Error as WP_REST_Response
- wp_remote_get adding backslashes
- WP Remote Request not returning all of content via request
- How to convert this cURL to wp_remote_*?
- 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?
- wp_remote_get times out on api request but jquery GET and postman work?
- 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_remote_get sslv3 alert handshake failure
- 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?
- Save external API calls in WordPress
- 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
- @file_get_contents and wp_remote_get
- Add information to HTTP Header in WordPress Plugin
- Getting featured image with PHP and not javascript from wordpress api _embed [closed]
- How to run wp_remote_get() inside of a loop for multiple page API response?
- wp_remote_post empty $_POST
- WordPress HTTP API NTLM Authentication
- External HTTP API calls slowing down WordPress admin [closed]