Think I found a solution going through the cURL manual:
curl https://DOMAIN.EXAMPLE --resolve 'DOMAIN.EXAMPLE:443:192.0.2.17'
Added in [curl] 7.21.3. Removal support added in 7.42.0.
Related Posts:
- curl: (60) Peer’s Certificate issuer is not recognized.
- https connection using CURL from command line
- Curl command for https ( SSL )
- Ngrok errors ‘502 bad gateway’
- Switch from https back to http
- Stop WordPress from using HTTPS and just use HTTP
- Chrome Version 44.0.2403.89 m is trying to force HTTPS
- Use https for img src
- WordPress in HTTPS, causing Redirect Loops
- Serving HTTP and HTTPS from one installation
- WordPress behind Proxy – Mixed Content
- How to deactivate/remove https on localhost project from online
- Changing http to https in wp_options
- Moving from http to https, and www. to non-www URL
- Force SSL 100%?
- Redirect URL on OAuth2.0 after switching from http to https
- Modify a plugin to open external links with iframe using https and not http?
- How to fix mixed content warnings for plugin resources?
- Changing HTTP to HTTPS
- WordPress changing script source from https to http
- WordPress forces HTTPS to HTTP in template
- WordPress HTTP requests point to localhost server after move to live HTTPS server
- Internet Explorer “Security Information” on every page in https site
- Category links break the https
- Can’t access Admin Panel
- Issues with forcing HTTPS
- Make WordPress site secure through HTTPS and SSL
- What is the “Force secure connections” option used for?
- White page on requests with Sec-Fetch-Site: cross-site
- Windows-hosted new site shows no preview: “Future home of something quite cool.” message is displayed
- Staging Session Randomly Switched from Secure (https) to Not Secure
- Moving wordpress site from HTTP to HTTPS ERR_TOO_MANY_REDIRECTS
- Issues after switching over to HTTPS
- content block https from http
- How to send user data from one website to another
- Navigation Bar displays vertically on Mozilla
- ERR_TOO_MANY_REDIRECTS when I change http to https
- I just updated to Https from Http, Should I change WordPress Address (URL) and Site Address in WordPress Dashboard?
- i can’t enter to control panel of my WordPress site
- Turn off https in WordPress 4
- Change links beginning from http:// to // so that https site can get correct CSS/JS files
- HTTPS for every page except for feeds
- wordpress website crash on https
- Whole website redirected to httpa but in dashboard settings still http
- http to https stuck in infinite loop
- How do I install and use cURL on Windows?
- cURL to show response headers after submiting a file
- How do I make curl ignore the proxy?
- What exactly is cacert.pem for?
- SSL CA cert (path? access rights?)
- PHP cURL custom headers
- How to fix “insecure content was loaded over HTTPS, but requested an insecure resource”
- How to migrate a HTTPS WordPress installation to localhost?
- SSL breaks customizer: page isn’t returned from ajax
- Local version of a WordPress site – SSL/HTTPS enforced?
- Passing .pem and .key files in cURL doesn’t work in WordPress
- 302 redirect instead of 301 after switch to HTTPS
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- SSL: How to make customizer images Protocol Relative in WordPress?
- AJAX requests broken due to HTTPS for wp-admin
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- Use wp_remote_get to get JSON instagram feed from public profile
- https redirect (with .htaccess) redirect loop
- How to convert this cURL to wp_remote_get?
- On Plugin Activation, How Do I Check for Proper Transport Mechanism?
- Problem with cURL and rest API
- Redirect http to https does not work on subdir where another instance of WordPress installed
- Https Redirect infinite loop in Mobile browsers
- 403 error on admin login page
- Is it necessary to check for `content-type` in headers?
- How to convert this cURL to wp_remote_*?
- Jetpack “Connect to WordPress” serving insecure content under HTTPS
- Images loading over http instead of https
- Domain Mapping for WordPress MU and https redirection – How to?
- Why does check_ajax_referer give a 403 error on https websites?
- cURL error for cron
- WordPress transient not working with WP Engine
- How to convert srcset links from https to http?
- Choosing http or https during manual installation of WordPress and database
- ERR_TOO_MANY_REDIRECTS on wordpress page [closed]
- Simulating timeout is not working
- Website Migration (with https) to a new domain(http)
- Inconsistencies between wp_remote_post and cURL
- WordPress visual editor internal link default https
- Using the JSON API via HTTPS and HTTP
- Full search and replace isn’t enough to make all pictures to be loaded with https
- Front-end pages messed up due to HTTPS
- Why is http header providing 404 while site is online?
- Create a new hyperlink to wordpress blog
- Link rewrite to https (NOT URL rewrite)
- Is it possible to make WordPress as a RESTful app?
- SSL/HTTPS Redirect Loop
- Generate all urls with https
- How can we remove “unused”/no long used calls when loading the homepage?
- Difference between `curl -I` and `curl -X HEAD`
- Best way to redirect all HTTP to HTTPS in IIS
- Remove “www” and redirect to “https” with nginx
- wp_remote_post vs curl to send data in WordPress plugin
- Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?
- How do I make the block editor use https by default?