#1 2015-10-17 10:04:45

jbroussia
Member
From: France
Registered: 2011-04-09
Posts: 74

httpget and redirection

Hi,

Is it possible to use HttpGet from SynCrtSock to retrieve the content of a web page that has been _redirected_ ? If yes, how ? :-p

For ex. this code will return an empty string:
HttpGet('http://www.betexplorer.com/soccer/france/ligue-1-2015-2016/');
because the URL is redirected to 'http://www.betexplorer.com/soccer/france/'. I'd like to retrieve the content of the final redirection...

Offline

Board footer

Powered by FluxBB