Hi Salvadordf .
Could you please advise me on how I can replace all links from HTTPS to HTTP? This is necessary for an internal TCP network.
Replace HTTPS to HTTP
- salvadordf
- Posts: 4099
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Replace HTTPS to HTTP
Hi,
I've never done that but you can try replacing the URI of each request.
Use the code in this post :
https://www.briskbard.com/forum/viewtopic.php?p=8883#p8883
Then replace HTTPS with HTTP in TempRequest.URI.
I've never done that but you can try replacing the URI of each request.
Use the code in this post :
https://www.briskbard.com/forum/viewtopic.php?p=8883#p8883
Then replace HTTPS with HTTP in TempRequest.URI.
Re: Replace HTTPS to HTTP
Thank you, it worked.
Code: Select all
TempRequest.URI := StringReplace(TempRequest.URI, 'https://', 'http://', [rfReplaceAll, rfIgnoreCase]);