indy Questions

4

Solved

I am trying to request access and refresh tokens from Google using oauth2, all I am getting is a "HTTP/1.1 400 Bad Request" error. I am using IdHTTP in Delphi XE5 with the IdSSLIOHandlerSocketOpen...
Charlettecharley asked 14/12, 2015 at 16:14

2

Solved

I am using TIdSSLIOHandlerSocketOpenSSL to open a TLS/SSL connection. I currently want to support tls 1.0 to 1.2. I initialize the IOHandler like this. TIdSSLIOHandlerSocketOpenSSL(FSocket.IOHand...
Outclass asked 13/12, 2016 at 17:50

9

Solved

Can any one tell me which is more stable? I know each has their own advantages and disadvantages. But which one is better for http, etc? In my previous application I used indy9 but I wasn't ...
Finnougric asked 18/4, 2010 at 18:52

2

Solved

In my client application I'm using the following code to add a token in the header: RESTRequest.Params.AddItem('Authorization', 'Bearer ' + MyToken, TRESTRequestParameterKind.pkHTTPHEADER, [TRESTR...
Amie asked 27/1, 2016 at 11:52

5

Using D7 + Indy 10 latest build. My code is using TIdSMTP to send email. I keep getting "Connection closed gracefully" at some end-users, and the email is never sent. The code is like: try ~~~~...
Ketti asked 6/7, 2009 at 8:13

1

I'm using Delphi 11 for developing windows application and I'm using SMTP for sending mail and from last week I'm getting the error - "Username and Password not accepted". But, earlier th...
Awry asked 13/6, 2022 at 21:17

2

Solved

I maintain and develop a program that (amongst other things) sends emails via GMail. Until now, there have been no problems with sending emails, but a few days ago this functionality ceased to work...
Resurrect asked 9/6, 2022 at 4:39

4

What is the easiest way to do an HTTPS POST request in Delphi? I'm not having problems with making HTTP POST requests, but how can I do it using SSL? I've googled around and haven't found anything ...
Altercate asked 19/11, 2010 at 9:54

3

In my application I am using IdHTTP.Get. A part of the code: var IdHTTP: TIdHTTP; begin IdHTTP := TIdHTTP.Create(nil); Output := IdHTTP.Get(url); ... IdHTTP.Free; Using IdHTTP.Version gives...
Illuminative asked 9/2, 2016 at 11:37

2

Solved

How can I login to a Gmail account and get number of messages in the INBOX mailbox with TIdIMAP4 component ?
Dilatation asked 28/11, 2012 at 11:49

5

Solved

I'm trying to download a file with TIdHTTP.Get in Delphi Seattle. It's an app for android and all my attempts fails. All i get it's the same error "Could not load SSL library". This is the procedur...
Fannyfanon asked 8/5, 2016 at 22:43

4

Solved

I am using Indy (IdHTTP, OpenSSL). I use this simple code to download a page var IdHTTP: TIdHTTP; begin IdHTTP:=TIdHTTP.Create; try IdHTTP.Get('https://ezfile.ch/?m=help&a=tos'); finally ...
Arminius asked 26/4, 2015 at 9:1

3

I tried to employ Indy 10.5.5 (shipped with Delphi 2010) for: connecting to telnet server performing username/password authentication (gaining access to the command shell) executing a command wit...
Larisa asked 18/6, 2011 at 14:10

4

Is there a step-by-step guide for updating the Indy 10 components in Delphi 2009? I've read the uninstalling thread and have the latest build (IndyTiburon.zip). However there appears to be n...
Thurmanthurmann asked 31/5, 2009 at 5:21

1

Solved

I've already found this answer on how to check the Indy version at run-time, and there are multiple different ways. However I'm looking how to use conditionals to check the Indy version at compile-...
Dovev asked 30/6, 2019 at 16:7

2

Solved

I am struggling to know how to access the response to an Indy POST request. I post the data either as JSON or paramstring. My code when using JSON is as follows. params := TStringList.Create; try ...
Arun asked 1/2, 2019 at 8:7

2

Solved

We are doing POST requests to a web service. Works fine. However, we notice that the requests are always HTTP 1.0, which causes our web server to decline to gzip the responses. If the requests a...
Taeniasis asked 9/12, 2014 at 21:33

2

Solved

I'm writing a download manager in Delphi with some custom features like resumable downloads and downloading through proxies. I'm studing different component solutions: Indy and NetHTTP, both seem ...
Newsdealer asked 1/4, 2017 at 7:10

1

Solved

We have a Indy (version 10.6.1.5235) TIdHttpServer "service" that has worked well for years with Delphi 2007. After the most recent Windows Update (KB4338815 and KB4338830) we noticed the service f...
Ragen asked 16/7, 2018 at 13:1

2

Solved

I have built a simple website monitoring application using Indy TIdhttp component. I want to detect when a designated page is not returned within a specified time frame (I am using 5000 millisecond...
Tilton asked 23/7, 2010 at 2:2

1

Solved

I'm trying to do a GET request on one of my game server's RESTAPI. When I load it in chrome it load with the correct json response but when I try to do it with indy it just gives me a bunch of unre...
Bayless asked 1/7, 2018 at 18:44

3

Solved

I'm using Delphi 2006 and Indy 10. I create a form and drop down an IdHttpServer component. I make an OnCreate event for the form to set the server active, and I enter these lines for the server's ...
Pepito asked 17/4, 2009 at 18:14

3

Solved

I'm starting to play with FreePascal/Lazarus and there appears to be an Indy port available. Is this a recent port and is it stable enough to use in production use? (Standard HTTP post/get client t...
Gatias asked 15/12, 2010 at 14:41

1

Solved

I am using Delphi 10.2 Tokyo, trying to download some information from a web server. I pass the command URL https://poloniex.com/public?command=returnCurrencies through this function using Indy 10...
Francisco asked 26/2, 2018 at 8:50

7

Solved

My Server-App uses a TIdTCPServer, several Client apps use TIdTCPClients to connect to the server (all computers are in the same LAN). Some of the clients only need to contact the server every co...
Semiliterate asked 17/2, 2011 at 16:33

© 2022 - 2025 — McMap. All rights reserved.