HTTP(S) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HTTP(S) (
/showthread.php?tid=246078)
HTTP(S) -
Mike Garber - 02.04.2011
How do I HTTP_GET an https:// url since I'm not supposed to include the http:// part?
Re: HTTP(S) -
coole210 - 02.04.2011
I'm not familiar with HTTP stuff as i never tried it but i work with other things, maybe set the port to 443 (https port)
I think this is only possible if u can set the header and/or the RemotePort
Re: HTTP(S) -
s0nic - 02.04.2011
I don't think https is supported yet?
Re: HTTP(S) -
Calgon - 03.04.2011
SSL isn't supported for HTTP(), I tried it before and realized it didn't work so I suggested a HTTPS() function which has received no feedback yet.
Quote:
Originally Posted by coole210
I'm not familiar with HTTP stuff as i never tried it but i work with other things, maybe set the port to 443 (https port)
I think this is only possible if u can set the header and/or the RemotePort
|
See
here for what you can change, and no you can't do that.
Re: HTTP(S) -
Mike Garber - 04.04.2011
Yeah i also realized and i gave Kye a PM but he didn't respond.
I suggested an optional parameter;
Код:
(index, type, url[], data[], callback[],ssl)
If 'ssl' is true, prefix would be https:// (and port 443) instead of http:// and port 80.
(Since i guess http:// prefix is native in the server code?)