# SWebResponse

**成员** 2

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

## 属性

### Error

string Error {get; }

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

示例

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

示例

**Lua**

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

```
