Last active
August 27, 2020 09:58
-
-
Save willprice76/3dbb5fdca9e502ab9172dbf4a97fd942 to your computer and use it in GitHub Desktop.
Example post request for scoring text data
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
curl -X POST -H "Content-Type: application/json" | |
--data "[\"I love Spark NLP\",\"I hate using Scala objects in Java\"]" | |
http://localhost:8080/sentiment/score |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment