Skip to content

Commit

Permalink
Added header for opting out payload loading
Browse files Browse the repository at this point in the history
  • Loading branch information
agustincasamayor committed Mar 18, 2016
1 parent 59b4b3b commit 62851e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ require('./config/express')(app);
var personalityInsights = watson.personality_insights({
username: '<username>',
password: '<password>',
version: 'v2'
version: 'v2',
headers: {
'X-Watson-Learning-Opt-Out': 1
}
});

// Creates a promise-returning function from a Node.js-style function
Expand Down

0 comments on commit 62851e8

Please sign in to comment.