The user used for the REST sessions must be of the REST access level. This user must be created from the WebUI prior to using the REST API. The REST client must remember cookies that are returned from the Sonus SBC System Edge system and supply those same cookies back to the REST gateway with Cookie: headers on subsequent requests. All requests will be authenticated against that session cookie. If a valid session cookie is not found, the REST client will recieve an HTTP 401 status code in the response. |