Sign in Join
FPDoc Onlineexperiment

HTTPEncode function

In unit HTTPDefs

Encodes string for URL transmission

Declaration

pascal
function HTTPEncode(const AStr: string): string

Arguments

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.