[fpc-pascal] fphttpclient.post

Ched charles.edouard.des.vastes.vignes at gmail.com
Thu Nov 1 22:22:59 CET 2018


Hello All,

Thank you, Sven and Wkitty42, for having corrected a false assumption about encryption of url.

Nevertheless, why not to have a simplepost(an-url, an-ansistring)::ansistring method available ?

Cheers, Ched'




Le 31.10.2018 à 22:51, Sven Barth via fpc-pascal a écrit :
> Ched <charles.edouard.des.vastes.vignes at gmail.com <mailto:charles.edouard.des.vastes.vignes at gmail.com>> 
> schrieb am Mi., 31. Okt. 2018, 23:43:
> 
>     Hello All,
> 
>     I'm using fphttpclient.simpleget to make querries to webserver. It's very very simple to use this
>     function ! "Du pur bonheur".
> 
>     As some data which travel the world encoded in clear in the url of the get are sometime private
>     (connecting password for example), I'd like to use the post method which crypts the data when using
>     https.
> 
> 
> Your assumption is incorrect. The only part that is "transmitted" unencrypted is the host, because that 
> one is resolved using DNS. The remaining URL is the first line of the already encrypted HTTP header.
> 
> Regards,
> Sven

> On 10/31/18 6:43 PM, Ched wrote:
>> As some data which travel the world encoded in clear in the url of the get are sometime private (connecting password for example), I'd like to use the post method which crypts the data when using https.
> 
> ummm... if you are using https, GETs are ""crypted"" as are the other http request methods HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE and PATCH...




More information about the fpc-pascal mailing list