HttpService

HttpService : Instance

Properties

HttpEnabled

bool

HttpEnabled is a boolean property that indicates whether HTTP requests can be sent to external endpoint(API Server, Website).

Code Samples

Methods

GenerateGUID

The GenerateGUID method generates a globally unique identifier (GUID).

Parameters

bool bInWrapInCurlyBraces

Return

string

Code Samples

JSONDecode

Decode JSON from the string and convert it to Lua Table

Parameters

string InInput

Return

Value

Code Samples

JSONEncode

Generate JSON String from Lua Table

Parameters

Value InInput

Return

string

Code Samples

UrlEncode

The UrlEncode function takes a string reference as input and returns the URL-encoded version of that string.

Parameters

string InInput

Return

string

Code Samples

GetAsync

Request HTTP GET message

Parameters

string InUrl

bool InNoCache

Value InHeaders

Return

string

Code Samples

PostAsync

Send HTTP Post message

Parameters

string InUrl

string InData

Enum.HttpContentType InContentType

bool InCompress

Value InHeaders

Return

string

Code Samples

RequestAsync

Sends an HTTP request using any method with the provided dictionary of information.

Parameters

Value InRequestOptions

Return

Value

Code Samples

Events

Last updated