Discussion:
Curl and http redirects
(too old to reply)
Rk Kr
2018-04-22 11:57:15 UTC
Permalink
Raw Message
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.
Daniel Stenberg
2018-04-22 14:31:40 UTC
Permalink
Raw Message
Post by Rk Kr
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.ha
Loading...