Nguyễn Hồng Nhung
New member
How do I follow curl redirect?
Answer
In curl’s tradition of only doing the basics unless you tell it differently, it does not follow HTTP redirects by default.
Use the -L, –location
to tell it to do that. When following redirects is enabled, curl will follow up to 50 redirects by default.
Answer
In curl’s tradition of only doing the basics unless you tell it differently, it does not follow HTTP redirects by default.
Use the -L, –location
to tell it to do that. When following redirects is enabled, curl will follow up to 50 redirects by default.