Getting Started
Red5 Pro Stream Manager REST API calls can be executed using any standard REST client.
For this section we will be using the Postman REST client.
Below are examples on using POST
, GET
and DELETE
type REST operations using the Postman REST client. These are the three type of operations that you will come across while using the Stream Manager REST API.
Note: In examples, the URL pattern of {host}
will refer to the Stream Manager IP/hostname and {port}
will be 5080, the default port for Red5 Pro. For most cases, we would suggest running on an SSL-secured server.
Making POST API Calls
To make a POST
REST call using the Postman REST client:
- Enter your URL in the URL text field
- Select
POST
from methods list on the left-hand side of URL text field - If you have any accompanying data:
- Select Body tab and select
raw
option - Select
JSON
(application/json) in the drop down selector next to theraw
option - Paste the desired JSON data into the text area exposed on selecting
raw
- Select Body tab and select
- Click Send to execute your API call
Making GET API Calls
To make a GET
REST call using the Postman REST client:
- Enter your URL in the URL text field
- Select
GET
from methods list on the left-hand side of URL text field - Click Send to execute your API call
Making DELETE API Calls
To make a DELETE
REST call using the Postman REST client:
- Enter your URL in the URL text field
- Select
DELETE
from methods list on the left-hand side of URL text field - Click Send to execute your api call