Use the location header flag:
curl -L <URL>
Related Posts:
- How to send a header using a HTTP request through a cURL call?
- How can I set the request header for curl?
- How to display request headers with command line curl
- How to fix libeay32.dll was not found error
- cURL to show response headers after submiting a file
- wget/curl large file from google drive
- curl: (35) SSL connect error
- How do I make curl ignore the proxy?
- SSL CA cert (path? access rights?)
- How do I measure request and response times at once using cURL?
- cURL equivalent in Node.js?
- Curl Error 56 “Failure when receiving data from the peer” while sending .tar.gz File
- Run Rsync from Python [duplicate]
- wp_remote_get vs. file_get_contents vs. cURL?
- wp_remote_get – cURL error 28 – only on same domain
- cURL – How to send and fetch data in WordPress
- cURL RETURNTRANSFER function in wp_remote_post
- How to convert this cURL to wp_remote_*?
- How to send file by wp_remote_post?
- Download file using cURL into wp-includes/uploads
- cURL request to plugin repository fails 403
- Curl error while creating user
- Call external API in wordpress based on user input
- Inconsistencies between wp_remote_post and cURL
- Set wordpress auth cookie from external site?
- Does wp_remote_post() require curl?
- How to use the HTTP API (wp_remote_get) instead of cURL?
- Difference between `curl -I` and `curl -X HEAD`
- wp_remote_post vs curl to send data in WordPress plugin
- After upgrading WordPress, I am getting the following error. Error message: cURL error 52: Empty reply from server
- 504 Gateway Time-out error when making cURL request in WordPress
- Redirect from an HTML page
- Redirect from an HTML page
- How do I make a redirect in PHP?
- How do I make a redirect in PHP?
- How do I get a YouTube video thumbnail from the YouTube API?
- How do I redirect to another webpage?
- How do I redirect to another webpage?
- How to create a file in Linux from terminal window? [closed]
- How do I POST JSON data with cURL?
- In the shell, what does ” 2>&1 ” mean?
- What’s the net::ERR_HTTP2_PROTOCOL_ERROR about?
- JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- curl: (60) SSL certificate problem: unable to get local issuer certificate
- HTTP POST and GET using cURL in Linux [duplicate]
- How do I POST JSON data with cURL?
- curl: (60) SSL certificate problem: unable to get local issuer certificate
- JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- How do I install and use cURL on Windows?
- How to redirect all HTTP requests to HTTPS
- JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- How to get the url of the current svn repo?
- How to fix “SSL certificate problem: self signed certificate in certificate chain” error?
- How to use Python to execute a cURL command?
- In the shell, what does ” 2>&1 ” mean?
- What’s the net::ERR_HTTP2_PROTOCOL_ERROR about?
- How to use Python to execute a cURL command?
- Redirecting to URL in Flask
- PHP page redirect
- How to define the basic HTTP authentication using cURL correctly?
- How to use the curl command in PowerShell?
- https connection using CURL from command line
- performing HTTP requests with cURL (using PROXY)
- How to define the basic HTTP authentication using cURL correctly?
- The page was not displayed because the request entity is too large on IIS
- The page was not displayed because the request entity is too large on IIS
- PHP header(Location: …): Force URL change in address bar
- Curl command for https ( SSL )
- Server.Transfer Vs. Response.Redirect
- How to do a PUT request with cURL?
- What does HTTP/1.1 302 mean exactly?
- How to capture cURL output to a file?
- How can I open the Atom editor from the command line in OS X?
- Using cURL with a username and password?
- PHP + curl, HTTP POST sample code?
- What is the curl error 52 “empty reply from server”?
- How to redirect a URL path in IIS?
- Can curl make a connection to any TCP ports, not just HTTP/HTTPS?
- Git error on git pull (unable to update local ref)
- ExpressJS : res.redirect() not working as expected?
- curl: (6) Could not resolve host: google.com; Name or service not known
- Call to undefined function curl_init().?
- How to change the project in GCP using CLI commands
- How do I get a YouTube video thumbnail from the YouTube API?
- How to use cURL to send Cookies?
- How do I POST JSON data with cURL?
- CURL ERROR: Recv failure: Connection reset by peer – PHP Curl
- cURL error 60: SSL certificate: unable to get local issuer certificate
- Binary Data Posting with curl
- What exactly is cacert.pem for?
- Merge / convert multiple PDF files into one PDF
- htaccess – Redirect to subfolder without changing browser URL
- curl POST format for CURLOPT_POSTFIELDS
- tar: Unrecognized archive format error when trying to unpack flower_photos.tgz, TF tutorials on OSX
- php refresh current page?
- curl : (1) Protocol https not supported or disabled in libcurl
- HTTP Error 411, The request must be chunked or have a content length
- How do you redirect HTTPS to HTTP?
- Curl not recognized as an internal or external command, operable program or batch file
- PHP cURL custom headers