Back to FabImage Library website
You are here: Start » Function Reference » System » HTTP » Http_EncodeURL
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Converts string to URL friendly text.
Syntax
C++
C#
void fil::Http_EncodeURL ( const ftl::String& inDecoded, ftl::String& outEncoded )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inDecoded | const String& | String to be encoded. | |
![]() |
outEncoded | String& | Percent-encoded string. |
Description
Filter converts a raw text to the format which can be used in a GET or POST request. Most of white spaces are converted to percent encoded characters.
More details can be found in Percent-encoding standard.
Examples
String Node = 1+2+3 will be encoded to Node%20%3D%201%2B2%2B3.
See Also
- Http_DecodeURL – Converts text from URL friendly text to a string.