# SWebResponse

**Members** 2

|          |                       |                                                                 |
| -------- | --------------------- | --------------------------------------------------------------- |
| Property | [Error](#error)       | Any error, will be empty or null if the request was successful  |
| Property | [Response](#response) | The body text of the webpage response if error is empty or null |

## Properties

### Error

string Error {get; }

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

Example

**Lua**

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

```

### Response

string Response {get; }

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

Example

**Lua**

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

```
