curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl and http redirects

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 22 Apr 2018 16:31:40 +0200 (CEST)

On Sun, 22 Apr 2018, Rk Kr wrote:

> Can someone point me to few examples where Curl is handling redirects. Curl
> is initiating a session with the remote server which then sends a redirect
> to another url. And then curl will use this new url to initiate next
> session. An example would be helpful.

curl https://daniel.haxx.se/trr/ -L

-- 
  / daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-22