Skip to content

Commit c1ca5e5

Browse files
authored
Update README.md
1 parent efba7c9 commit c1ca5e5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ User user = ConvertApi.getUser();
8989
int secondsLeft = user.SecondsLeft;
9090
```
9191

92+
### Alternative domain
93+
94+
Create `Config` instance with the alternative domain and provide it in `convert` method. Dedicated to the region [domain list](https://www.convertapi.com/doc/servers-location).
95+
96+
```java
97+
Config config = new Config(secret, "https", "eu-v2.convertapi.com", 0, httpClientBuilder);
98+
```
99+
92100
### More examples
93101

94102
You can find more advanced examples in the [examples](https://github.com/ConvertAPI/convertapi-java/tree/master/examples/src/main/java/com/convertapi/examples) folder.

0 commit comments

Comments
 (0)