...
- HTTP: http://streaming.flashphoner.com:90918081/rest-api/stream/snapshot
- HTTPS: https://streaming.flashphoner.com:88888444/rest-api/stream/snapshot
...
- streaming.flashphoner.com - is the address WCS server
- 9091 8081 - is the standard REST / HTTP port of the WCS server
- 88888444 - is the standard HTTPS port
- rest-api - is the required part of the URL
- /stream/snapshot - is the REST method used
REST-methods and response statuses
REST-method | Example of the REST query | Example of the REST response body | Response statuses | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
/stream/snapshot |
|
| 200 - Snapshot is taken 404 - Stream not found |
Parameters
Parameter name | Description | Example |
---|---|---|
streamName | Unique stream name | 64966f33 |
data | Snapshot file encoded to base64 | iVBORw0KGgoAAAANSUhEUgAAAUAAAADwCAYAAABxLb1rAAAACXBIWXMAAAAAAAAAAQCEeRdzAAAQA |
Sending the REST query to the WCS server
...