Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7491377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:02:39+00:00 2026-05-29T16:02:39+00:00

I think this is an easy question for someone familiar with Indy. I’m using

  • 0

I think this is an easy question for someone familiar with Indy. I’m using Delphi 2010 and Indy 10. I am trying to get off the ground accessing an SSL web service. I think it will be a lot easier if I can get Fiddler to see my HTTP traffic. I have seen posts on StackOverflow that indicate it’s no big thing to get Fiddler to see your Indy traffic, that you just have to configure the port to make it work. My question is how do you do that?

Here is my code so far:

procedure TForm1.Button1Click(Sender: TObject);
var slRequest: TStringList;
    sResponse,
    sFileName: String;
    lHTTP: TIdHTTP;
    lIOHandler: TIdSSLIOHandlerSocketOpenSSL;
begin
  sFileName := 'Ping.xml';
  slRequest := TStringList.Create;
  try
    slRequest.LoadFromFile(sFileName);
    lHTTP := TIdHTTP.Create(nil);
    lHTTP.Intercept := IdLogDebug1;
    lIOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil);
    try
      lHTTP.IOHandler := lIOHandler;
      sResponse := lHTTP.Post('https://FSETTESTPROD.EDD.CA.GOV/fsetservice', slRequest);
      Memo1.Lines.Text := sResponse;
    finally
      lIOHandler.Free;
    end;
  finally
    slRequest.Free;
  end;
end;

Edit: If I don’t use the proxy for Fiddler and click the button while Wireshark is running, I get this traffic in Wireshark.
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T16:02:39+00:00Added an answer on May 29, 2026 at 4:02 pm

    You can set Indy to use the proxy fiddler provides easily by setting the ProxyParams:

    try
      lHTTP.IOHandler := lIOHandler;
      lHTTP.ProxyParams.ProxyServer := '127.0.0.1';
      lHTTP.ProxyParams.ProxyPort := 8888;
      sResponse := lHTTP.Post('<URL>', slRequest);
      Memo1.Lines.Text := sResponse;
    finally
      lIOHandler.Free;
    end;
    

    You should be able to see all traffic in Fiddler then.

    Edit: If that does not work you can add a TIdLogDebug component and add it as interceptor (like you did in your question).
    The OnReceive and OnSend events contain the complete headers sent and received aswell as the reply data:

    procedure TForm10.captureTraffic(ASender: TIdConnectionIntercept; 
      var ABuffer: TArray<Byte>);
    var
      i: Integer;
      s: String;
    begin
      s := '';
    
      for i := Low(ABuffer) to High(ABuffer) do
        s := s + chr(ABuffer[i]);
    
      Memo1.Lines.Add(s);
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think this is a reasonably easy question however I just don't get autoloading
I think this is very easy question for someone who is more experienced in
I think this is a pretty easy question...How do I make a asp.net function
Ok, I think this is probably an easy question but for the life of
I think this is an easy question, if I could figure out search terms
I think this will be easy but I can't see how to do it!
I think this should be easy, but it's evading me. I've got a many-to-many
I thought this would be easy. The Google makes me think otherwise. What I
In this SO question, someone asked for calculating an angle from three points .
This is a really easy question I'm sure but I'd appreciate the help. :)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.