Module: PostTask

Methods


<static> asyncPost(req [, data])

Post data and wait for response code

Parameters:
Name Type Argument Default Description
req dynamic
data string <optional>
""
Source:
Returns:
Type
integer

<static> empty()

Revert PostTask to default state

Source:
Returns:
Type
void

<static> init()

Source:
Returns:
Type
void

<static> postItems()

Main function for PostTask.
Posts either an array of data
or a string of data to an API endpoint.
Saves the response information

Source:
Returns:
Type
void