Breakroom is now Sinewave Campus. Book a meeting

SWebResponse

ClientTypes
On this classError
  1. Properties
  2. Error
  3. Response
Members 2
PropertyErrorAny error, will be empty or null if the request was successful
PropertyResponseThe body text of the webpage response if error is empty or null

Properties​

ErrorRead only​

string Error {get; }

Any error, will be empty or null if the request was successful

Example

Lua
function ResponseFunction(responseData)
stringError = responseData.Error
end
Space.WebServices.Get('aURL', ResponseFunction)

ResponseRead only​

string Response {get; }

The body text of the webpage response if error is empty or null

Example

Lua
function ResponseFunction(responseData)
stringResponse = responseData.Response
end
Space.WebServices.Get('aURL', ResponseFunction)