I'm trying to get the content of a webpage using curl, but i', getting an empty response. After checking the headers i've noticed that remote server returns 'HTTP/1.1 302 Moved Temporarily'
Of course, the same url in browser returns the page.
Why is this happening? Maybe remote server can understand that this is a curl request and has some limitations? Any ideas on how i could get the page content?
Thanks.