Questions tagged [idhttp]

This is the Indy component for HTTP requests.

TIdHTTP is a component of the Internet Direct (aka "Indy") open source library for performing HTTP requests. The component can handle redirects, authentication, and data retrieval all by itself.

IO Handlers can be attached for SSL, streaming, or custom designed IO.

268 questions
2
votes
2 answers

Could not load SSL library

I'm trying to use REST. So I'm using the TIdHTTP component. But it says 'Could not load SSL Library'. What am I missing? My knowledge about SSL is zero. I'm using Delphi 2007, Indy 10.1.5, and Windows 32-bit. I put libeay32.dll and ssleay32.dll in…
FZS
  • 160
  • 1
  • 2
  • 14
2
votes
1 answer

TIdHTTP: Select outgoing IP for HTTP request?

I have a machine with several different static IPs. Is it possible to select the outgoing IP address for HTTP requests via TIdHTTP (Indy)?
vitaliy-zh
  • 185
  • 9
2
votes
2 answers

TidHTTPServer "Out of memory" on large file upload

I'm using Delphi 10.3.1 and Indy TIdHTTP / TIdHTTPServer I created a client / server application to archive files. The client uses a TIdHTTP component, the code is something like this: procedure TForm1.SendFileClick (Sender: TObject); var …
Davide
  • 39
  • 4
2
votes
0 answers

Problem with login using idhttp, the website doesn't send any username and password with its posts

please note that i had asked this question a while back but i was unable to attend to it because of some personal issue, so it got deleted, meta user suggested i reask the question and so here it is Recently i encountered a website which doesn't…
ali ahmadi
  • 179
  • 3
  • 20
2
votes
1 answer

Sending SMS through API from Delphi

I want to send SMS from Delphi using an online API. The API is provided by a service provider that works when used through a web browser, as…
Khawar
  • 33
  • 1
  • 6
2
votes
1 answer

Error connecting with SSL using IdHttp Indy

I have a problem in IdHttp using Indy (Delphi). I try to using IdHttp to post XML in web service SOAP, but dont work. Return "Error connecting with SSL." in IdSSLOpenSSL.Connect@1437 from indy. My code is simple: procedure…
Erick Moraes
  • 41
  • 1
  • 4
2
votes
1 answer

TIdHTTP sends HTTPS request as HTTP over proxy

I've got an issue with implementing SSL Certificate Pinning with TIdHTTP. So, here are the steps: Drop TIdHTTP, TIdSSLIOHandlerSocketOpenSSL and TIdCompressorZLib on the form. Assign TIdSSLIOHandlerSocketOpenSSL and TIdCompressorZLib to IOHandler…
Maxim
  • 199
  • 1
  • 14
2
votes
0 answers

Indy Http 10 Connection Closed Gracefully

I'm working at an application which uses Indy's TIdHTTP component. I send a request to my HTTP server, and it sends back a report. But, when the report is too long, I get this error: Connection Closed Gracefully Here is a part of my…
Vlad Costin
  • 61
  • 1
  • 10
2
votes
1 answer

File upload fails, when posting with Indy and filename contains Greek characters

I am trying to implement a POST to a web service. I need to send a file whose type is variable (.docx, .pdf, .txt) along with a JSON formatted string. I have manage to post files successfully with code similar to the following: procedure…
stmpakir
  • 319
  • 2
  • 10
2
votes
1 answer

How to use Idhttp within TThread Properly?

I currently have this TThread to download some images to a desk, here is the threading Code: type TDownloadUpdateAnimateEvent = procedure(Sender: TObject; AAnimationname: String; var AAnimationUrl: String) of object; type …
Vlark.Lopin
  • 762
  • 10
  • 21
2
votes
0 answers

how to use idhttp to follow in instagram?

I have code that I copied from here: How to login to Instagram website using IdHTTP in delphi10 procedure Tinstfrm.Button1Click(Sender: TObject); var lHTTP: TIdHTTP; IdSSL: TIdSSLIOHandlerSocketOpenSSL; Params : TStrings; Reply, Token:…
Vlark.Lopin
  • 762
  • 10
  • 21
2
votes
1 answer

How to use threads with idhttp in delphi 10

i need help to speedup my project,i have 2 ListBoxs, the first is full with URLs, the second i store in it the URLs that causes 404 error from Listbox1, its just checking process. the idhttp takes about 2s to check 1 url, i dont need the html, cause…
ColdZer0
  • 233
  • 1
  • 4
  • 19
2
votes
0 answers

Delphi Indy IdHttpServer understand how Connection.Socket.ReadTimeout work

I want close idle connection on TIdHttpServer. Here https://stackoverflow.com/a/35107685/2936170 i found [...] the ReadTimeout property can be used to disconnect slow/dead clients that do > not send requests in a timely manner. On TIdHttpServer…
ar099968
  • 6,963
  • 12
  • 64
  • 127
2
votes
1 answer

IdHTTP in Android service in Delphi RX

I try to write an Android service, which will use IdHTTP component to send messages to the server. I just put IdHTTP1 on TAndroidServiceDM and try to Run app on Phone (Android 4.2.2) I get error: "Project LocSensDemo.apk raised exception class…
Rusland
  • 159
  • 2
  • 13
2
votes
1 answer

Delphi: Setting connection timeout for TIdHttpServer

Using TIdHTTPServer (Indy 10.6), i want set a connection timeout for close slow or inactive client (client are common browser) and close all zombie connection after 60 seconds of inactivity. I have found Socket.ReadTimeout in TIdContext.Connection.…
Simone Nigro
  • 4,717
  • 2
  • 37
  • 72