Skip to content

Commit 4b6df6f

Browse files
committed
Update README with service API information.
1 parent 5c1a5a1 commit 4b6df6f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,14 @@ ApiClient client = new RestApiClient().withCredentials("my user", "my api key");
6868
```
6969

7070
If the end point isn't at the normal SoftLayer API, you can provide the prefix to the constructor of the
71-
`RestApiClient`. By default it is set to `https://api.softlayer.com/rest/v3.1/`.
71+
`RestApiClient`. By default it is set to the public API endpoint, `https://api.softlayer.com/rest/v3.1/`.
72+
73+
If you are using the classic infrastructure private network, you can communicate with the API over that network by using the service URL instead:
74+
75+
```java
76+
ApiClient client = new RestApiClient(RestApiClient.BASE_SERVICE_URL)
77+
.withCredentials("my user", "my api key");
78+
```
7279

7380
### Making API Calls
7481

0 commit comments

Comments
 (0)