Skip to content

Commit 43fc4db

Browse files
Merge pull request #36 from mxenabled/bm/update_readme
Update README example
2 parents fa429a7 + ccdebfd commit 43fc4db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

openapi/templates/README.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ import java.util.*;
5959

6060
public class Example {
6161
public static void main(String[] args) {
62-
// Configure environment. https://int-api.mx.com for development, https://api.mx.com for production
6362
ApiClient defaultClient = Configuration.getDefaultApiClient();
63+
defaultClient.addDefaultHeader("Accept", "application/vnd.mx.api.v1+json");
64+
65+
// Configure environment. https://int-api.mx.com for development, https://api.mx.com for production
6466
defaultClient.setBasePath("https://int-api.mx.com");
6567
6668
// Configure with your Client ID/API Key from https://dashboard.mx.com

0 commit comments

Comments
 (0)