You should use the DOWNLOAD api to dowload stuff of the net