Skip to content

HTTPEncode

Encodes string for URL transmission

Declaration

Source position: httpdefs.pp line 781

function HTTPEncode(const AStr: string) : string;

Arguments

Name Description
AStr String to HTTP encode

Function result

HTTP encoded string

Description

HTTPEncode converts a string to URL-encoded format, replacing special characters with percent-encoded representations suitable for HTTP transmission.

See also

Name Description
HTTPDecode Decodes URL-encoded string