Page History
You can validate the Stratos manager URL via the REST API as shown below:
Overview
Description | Validate the Stratos Manager URL. This resource is used by clients such as the CLI. | ||||
Resource Path | /init | ||||
HTTP Method | GET | ||||
Request/Response Format | application/json | ||||
Command format |
|
Example
Validate the Stratos manager URL.
Code Block |
---|
curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin https://localhost:9443/api/init |
Sample output
Code Block |
---|
> GET /api/init HTTP/1.1
> Host: localhost:9443
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Type: application/json
>
< HTTP/1.1 200 OK
< Date: Mon, 19 Oct 2015 08:35:06 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Server: WSO2 Carbon Server
<
{"status":"success","message":"Successfully authenticated"} |
You will come across the following HTTP status codes while validating the Stratos Manager URL:
HTTP status code | 200, 404, 500 See the descriptions of the HTTP status codes here. |
...
Overview
Content Tools
Activity