1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram

  5. Delphifan Magazine
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Use Fiddler With Delphi XE7

Discussion in 'Delphi Tools,Freeware, Open Source' started by AdminDF, Oct 1, 2014.

  1. AdminDF
    Online

    AdminDFAdminDF is a Verified Member Delphifan Staff Member DF Staff

    If you’re working with the REST client in Delphi XE5, XE6, Appmethod, and XE7 Firemonkey to consume REST APIs you may find it tricky to debug the HTTP data connections. There is a free application called Fiddler which can act like a proxy between your app and the REST server. Fiddler runs on your development machine but you could also connect to it’s proxy from your mobile device on the same network. Now Fiddler can automatically inserts itself into browser connections on your machine but in order for you to use it with the TRESTClient component you have to set TRESTClient.ProxyHost to 127.0.0.1 and TRESTClient.ProxyPort to 8888. It also supports SSL so you can even debug secure REST APIs. There are so many features packed into it’s unbelievable. Some of the features I use are things like Replay which will resend your REST request from Fiddler to the server again, viewing the entire HTTP request and response headers, displaying the HTTP request and response body (as raw, as a JSON tree, as an XML tree), 24+ different User Agent settings, simulated modem speeds, handling GZIP content, filtering for certain URLs, and much much more. Now the next piece of the toolset is the REST Debugger Tool that comes with the Firemonkey IDEs. The REST Debugger is available via the Tools menu in the IDE. It is a slimmed down version of what Fiddler offers but it also includes Object Pascal source code (in the samples section) if you want to modify it yourself. Jim McKeeth has a tutorial for modifying the REST Debugger Tool which allows you to set up your REST API URL in the REST Debugger Tool and then copy and paste the TRESTClient components out of it into your Firemonkey project. The XE7 version already has the modification added to it (just use the Copy To Clipboard button). You really have to watch his video tutorial to see how awesome and easy it is to setup and consume REST APIs with Firemonkey on Android, IOS, Windows, and OSX.

    Download for FREE HERE
     
  2. softpopr
    Online

    softpopr Guest

    stas muy bueno
     
  3. SPCoeur
    Online

    SPCoeur Guest

    I don't know why but Fiddler is not detecting packets from TIdTcpClient (using GET) or TIDHttp. Any help would be greatly appreciated.
     
  4. SPCoeur
    Online

    SPCoeur Guest

    For getting Fiddler to work with TIdHttp you can read this post
     

Share This Page