# SWebResponse

**Membres** 2

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

## Propriétés

### Error

string Error {get; }

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

Exemple

**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

Exemple

**Lua**

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

```
