We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89c2e6b commit 9728ae7Copy full SHA for 9728ae7
README.md
@@ -309,7 +309,7 @@ The example below sends the `X-Watson-Learning-Opt-Out` header in every request
309
PersonalityInsights service = new PersonalityInsights("2016-10-19");
310
311
Map<String, String> headers = new HashMap<String, String>();
312
-headers.put(HttpHeaders.X_WATSON_LEARNING_OPT_OUT, 1);
+headers.put(HttpHeaders.X_WATSON_LEARNING_OPT_OUT, "true");
313
314
service.setDefaultHeaders(headers);
315
0 commit comments