Closed

vb6 POST HTTP dosnt work

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>

Skills: Visual Basic, HTTP

See more: creative ways post christmas cards work, vb6 post internet explorer, can post free design work needed, vb6 winsock http request, winsock post http, aspnet post http request, vb6 post data website, post animation related work needs outsourced, post http request cnet, build post http request, vb6 post php, http www yad2 co il alternative viewimage php catid 11&subcatid 0&recordid 171800

About the Employer:
( 98 reviews ) Wrocław, Poland

Project ID: #24490967

6 freelancers are bidding on average $28 for this job

ineedWorkJob

Greetings sir, I have read your project details and i will help you on your vb6 project to work with HTTP post. Sir, i can deliver this project sooner than you expect and will be over your satisfaction level. More

$30 USD in 1 day
(102 Reviews)
6.2
artemzlobin900

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 More

$30 USD in 1 day
(6 Reviews)
3.4
VitaliiVozniy

Hi. i am vb6 expert. i have just read your description as socket. i feel your error sense. i can help you enough. if you are interested me , please contact me.

$20 USD in 1 day
(0 Reviews)
0.0
ecksdeegege

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 More

$20 USD in 7 days
(0 Reviews)
0.0
alexbedeleu

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 More

$40 USD in 7 days
(0 Reviews)
0.0
manueldago

this line is wrong! Global Const REMOTE_HOST = "[login to view URL]" http://www.rafsoft.net. or better [login to view URL] greetings

$30 USD in 1 day
(0 Reviews)
0.0