Thanks, roo0047. Don't mind you butting in at all. Tried the full build as you suggested, but no improvement. I have D2006 which has a later version (maybe 10) of Indy. I intend to try that tonight after I reinstall D2006. I just got D2010, but haven't gotten it to install correctly yet (it...
Did I need to complete the installation of the download from Shining Light? Do I need to have OpenSSL installed on my system? All I did was pull the two DLLs from the download.
Here is the latest:
procedure THTTPSForm.SendBtnClick(Sender: TObject);
var Headers: TStrings;
begin
Headers := TStringList.Create;
Headers.Add(Cookie.Text);
IdSSLIOHandlerSocket1.SSLOptions.Method := TIdSSLVersion(sslvSSLv23);
IdSSLIOHandlerSocket1.SSLOptions.RootCertFile :=...
It is for Amazon, and they specify you must do an HTTPS Post with three "Headers". One of the "headers" is an HTTP parameter: Content-Type. Another "header" is a cookie that they specify and the third one is another HTTP parameter: Authorization. However, rather than just let you put in your...
I can upgrade to Indy10, but that still doesn't give me an HTTPS component so I need to turn an HTTP component into an HTTPS one. I believe I am almost there by adding the code:
HTTPS.IOHandler := IdSSLIOHandlerSocket1;
IdSSLIOHandlerSocket1(HTTPS.IOHandler).SSLOptions.Method := sslvSSLv3...
I am trying to turn an HTTP component into an HTTPS component to connect to Amazon. I am using D7. Here is what I have so far with an Indy 9 HTTP client component named HTTPS:
var Authorization, Response, Headers: string;
begin
Authorization := MimeEncodeString('myusername:mypassword')...
If you want to refer to the entire array, would you not just use:
SomeComponent.EatFruit(Pack);
SomeComponent.EatFruit(BOX);
If you use:
SomeComponent.EatFruit(Pack[i]);
SomeComponent.EatFruit(BOX[i]);
you are just referencing the i element of Pack and BOX.
We have to have an HTTPS connection to one our vendors sites by October. Can the Indy 9 or 10 library be used to piece together an HTTPS connection? We can use D7 or D2006. Help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.