Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Request

Response

Code Block
languagejs
themeRDark
POST /rest-api/api/create-session HTTP/1.1
HOST: 192.168.1.101:9091
content-type: application/json
content-length: 306


{
   "urlServer": "ws://localhost:8080",
   "sipLogin":"10006",
   "sipAuthenticationName":"10006",
   "sipPassword":"password",
   "sipDomain":"domain",
   "sipOutboundProxy":"domain",
   "sipPort":"5060",
   "appKey":"defaultApp",
   "sipRegisterRequired":"true",
   "clientBrowserVersion": "",
   "clientVersion": "",
   "mediaProviders": ["WebRTC"]
}
Code Block
languagejs
themeRDark
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Wed, 25 Jul 2018 06:58:40 GMT

/cdn/show_routes

RequestResponse
Code Block
languagejs
themeRDark
POST /rest-api/cdn/show_routes HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 0
Code Block
languagejs
themeRDark
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 26
Date: Thu, 06 Dec 2018 4:16:40 GMT


{
    "0-192.168.1.5-0": "test"
}