HTTP_GET Access to Password protected File
#1

I'm trying to get access to protected file by sending username and password in url, but server is every time returing code 1 (HTTP_ERROR_BAD_HOST).

Example:
pawn Код:
HTTP(playerid, HTTP_GET, "http://user:pass@domain.com/file.txt", "", "MyHttpResponse");
And also can someone explain me how to use 4th param in HTTP function.
Reply


Messages In This Thread
HTTP_GET Access to Password protected File - by Dragony92 - 23.09.2013, 04:26
Re: HTTP_GET Access to Password protected File - by whatthefuck123 - 23.09.2013, 05:03
Re: HTTP_GET Access to Password protected File - by Dragony92 - 23.09.2013, 06:07
Re: HTTP_GET Access to Password protected File - by Vince - 23.09.2013, 09:20
Re: HTTP_GET Access to Password protected File - by Dragony92 - 23.09.2013, 09:37
Re: HTTP_GET Access to Password protected File - by iJumbo - 23.09.2013, 09:46
Re: HTTP_GET Access to Password protected File - by Dragony92 - 23.09.2013, 10:12

Forum Jump:


Users browsing this thread: 1 Guest(s)