Skip to content

Commit b99c703

Browse files
authored
Merge pull request #362 from watson-developer-cloud/fix-content-type
Fix content type for language translator
2 parents c6b3a91 + fe5785a commit b99c703

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

language-translator/v2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ LanguageTranslatorV2.prototype.identify = function(params, callback) {
227227
defaultOptions: extend(true, {}, this._options, {
228228
headers: {
229229
'accept':'application/json',
230-
'content-type': 'plain/text'
230+
'content-type': 'text/plain'
231231
}
232232
})
233233
};

0 commit comments

Comments
 (0)