You are not logged in.
Pages: 1
Hello,
I am using the following code to make a request and getting error 505
vBase64 := TBase64Encoding.Create;
try
vUsername := 'Dispatch';
vPassword := '1234';
vLogin := vUsername + ':' + vPassword;
vAuth := 'Authorization: Bearer ' + vBase64.Encode(vLogin);
finally
vBase64.Free
end;
FClient.Open('127.0.0.1', '8095', cslTCP, 0, FALSE);
//FClient.HeaderAdd(vAuth);
result := FClient.Get(vURL, 5000, vAuth);
With setup like this, do i get HTTP 1.1 request or do i need some other settings?
Thanx,
Offline
Pages: 1