04-14-2015, 06:18 AM
Function Function2
Output Message:
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
<blockquote>Hint: <a href="https://ssl.tdisk.co.kr/"><b>https://ssl.tdisk.co.kr/</b></a></blockquote></p>
</body></html>
Is not a connection.
What is the problem?
,Http Host.Connect("ssl.tdisk.co.kr" 0 0 443)
,,Host.PostAdd("old_cookie_id" "")
,,Host.PostAdd("mb_id" "ID")
,,Host.PostAdd("site" "")
,,Host.PostAdd("mb_pw" "PASS")
,;loging check
,str r8
,if(!TDiskHost.PostFormData("/login_step.php" 0 r8)) end "failed"
out r8
Output Message:
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
<blockquote>Hint: <a href="https://ssl.tdisk.co.kr/"><b>https://ssl.tdisk.co.kr/</b></a></blockquote></p>
</body></html>
Is not a connection.
What is the problem?