Skip to content

Commit 9e2990e

Browse files
authored
Merge pull request #235 from oracle/RmREST
minor text edits
2 parents 09e0126 + 5a41ef9 commit 9e2990e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/rest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
The operator provides a REST server which can be used to get a list of WebLogic domains and clusters and to initiate scaling operations. Swagger documentation for the REST API is available [here](https://oracle.github.io/weblogic-kubernetes-operator/swagger/index.html).
44

5-
Most of the services access a `GET`, for example:
5+
You can access most of the REST services using `GET`, for example:
66

77
* To obtain a list of domains, send a `GET` request to the URL `/operator/latest/domains`.
88
* To obtain a list of clusters in a domain, send a `GET` request to the URL `/operator/latest/domains/<domainUID>/clusters`.
99

1010
All of the REST services require authentication. Callers must pass in a valid token header and a CA certificate file. The `X-Requested-By` header is not required. Callers should pass in the `Accept:/application/json` header.
1111

12-
If using `curl`, the `-k` option can be used to bypass the check to verify that the operator's certificate is trusted (instead of `curl --cacert`).
12+
If using `curl`, you can use the `-k` option to bypass the check to verify that the operator's certificate is trusted (instead of `curl --cacert`).
1313

14-
Here is a small BASH script that may help to prepare the necessary token, certificates, and so on, to call the operator's REST services:
14+
Here is a small BASH script that may help to prepare the necessary token, certificates, and such, to call the operator's REST services:
1515

1616
```
1717
#!/bin/bash

0 commit comments

Comments
 (0)