# 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)

```
