vb6 POST HTTP dosnt work
$10-30 USD
Teslim sırasında ödenir
can someone help me? i get in VB6 code 301 page moved permanently but from browser and postman is correctly
I use Winsock control
Global Const REMOTE_HOST = "[login to view URL]"
Global Const REMOTE_FILE = "/auth/[login to view URL]"
[login to view URL] REMOTE_HOST, 80
[login to view URL] "POST " & REMOTE_FILE & " HTTP/1.0" & vbCrLf & "Host: " & REMOTE_HOST & vbCrLf & "Content-Type: application/x-www-form-urlencoded" & vbCrLf & "Content-Length: " & Len(Content) & vbCrLf & vbCrLf & Content
Immediate
<!DOCTYPE html>
<html style="height:100%">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title> 301 Moved Permanently
</title></head>
<body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;">
<div style="height:auto; min-height:100%; "> <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;">
<h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">301</h1>
<h2 style="margin-top:20px;font-size: 30px;">Moved Permanently
</h2>
<p>The document has been permanently moved to <A HREF="%s">here</A>.</p>
</div></div><div style="color:#f0f0f0; font-size:12px;margin:auto;padding:0px 30px 0px 30px;position:relative;clear:both;height:100px;margin-top:-101px;background-color:#474747;border-top: 1px solid rgba(0,0,0,0.15);box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;">
<br>Proudly powered by <a style="color:#fff;" href="[login to view URL]">LiteSpeed Web Server</a><p>Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.</p></div></body></html>
Proje NO: #24490967
Proje hakkında
Bu iş için 5 freelancer ortalamada $30 teklif veriyor
Hello. Thanks for your post and I read it very carefully. I am very interested in your project and I can do it enough in a short time. I am an expert in VB and PHP. Because this is my first language when I learned. I h Daha Fazla
Hello I am a new freelancer but a Windows Application developer. I have many experiences that used the VB.Net in the past. I have the skills to complete your project and can complete it in short time. The High Quality Daha Fazla
I can fix your code in VB6 to send here Podaj hasło dostępu: the value from Content succesfuly . I am a professional with my own software bussines since 2006 and work in VB 6 since 2001 . Contact me AB Soft Daha Fazla