Back to Aurora Vision Library website

You are here: Start » Function Reference » System » HTTP » Http_EncodeURL

Http_EncodeURL


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Converts string to URL friendly text.

Syntax

C++
C#
 
void avl::Http_EncodeURL
(
	const atl::String& inDecoded,
	atl::String& outEncoded
)

Parameters

Name Type Default Description
Input value inDecoded const String& String to be encoded.
Output value 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.