Created
October 3, 2015 22:12
-
-
Save madisonmay/d74c1ed00c06045a40fa to your computer and use it in GitHub Desktop.
Indico API + jQuery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
url: "https://apiv2.indico.io/sentiment/batch?key=YOUR_API_KEY", | |
type: "POST", | |
data: JSON.stringify({"data": ["text", "more text"]}), | |
success: function (data) { | |
console.log(data); | |
}, error: function(err) { | |
console.log(err); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment