How to Send GET Requests with cURL?
How to Handle Redirects with cURL?
How to How to Send Basic Auth with cURL?