Hi all,
I'm trying to download and parse this URL using HttpUtils2:
http://www.cofib.es/es/llistat_guardies.aspx?z=Palma&data=26/11/2013
The app downloads many oher URLs using arguments without error. Some using GET commands (with the .Download or .Download2 methods); others using POST commands (with the .PostString or .PostBytes methods), and even some with specific headers.
In this case, if I download the URL above using wget command in Linux, the web downloads perfectly. As wget is very simple and sends no hidden data, cookies or any headers to the web server, I assume that, in this case, a simple GET using the URL above should be enough to obtain the data. The fact is it doesn't. With B4A, no matter which download method I follow, the result is always a 404 error.
Maybe the problem comes with the backslashes of the URL, at the end, in the 'data' parameter. I've tried to escape them using %2f, and passing Chr(47), with no success.
Any ideas?
I'm trying to download and parse this URL using HttpUtils2:
http://www.cofib.es/es/llistat_guardies.aspx?z=Palma&data=26/11/2013
The app downloads many oher URLs using arguments without error. Some using GET commands (with the .Download or .Download2 methods); others using POST commands (with the .PostString or .PostBytes methods), and even some with specific headers.
In this case, if I download the URL above using wget command in Linux, the web downloads perfectly. As wget is very simple and sends no hidden data, cookies or any headers to the web server, I assume that, in this case, a simple GET using the URL above should be enough to obtain the data. The fact is it doesn't. With B4A, no matter which download method I follow, the result is always a 404 error.
Maybe the problem comes with the backslashes of the URL, at the end, in the 'data' parameter. I've tried to escape them using %2f, and passing Chr(47), with no success.
Any ideas?