Skip to content

Instantly share code, notes, and snippets.

@yuj18
Created August 11, 2016 04:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuj18/32fe807f968849083a1e38ffcc819927 to your computer and use it in GitHub Desktop.
Save yuj18/32fe807f968849083a1e38ffcc819927 to your computer and use it in GitHub Desktop.
jyu@:Server$ curl -i -X GET http://localhost:15000/gemfire-api/v1/SentimentScore/inconveniently%2Csmall%20part
HTTP/1.1 200 OK
Date: Mon, 25 Jul 2016 06:00:41 GMT
Content-Location: http://localhost:15000/gemfire-api/v1/SentimentScore/small%20part,inconveniently
Content-Type: application/json
Content-Length: 148
Server: Jetty(9.2.13.v20150730)

{
  "SentimentScore" : [ {
    "phrase" : "small part",
    "score" : "0.053"
  }, {
    "phrase" : "inconveniently",
    "score" : "-1.541"
  } ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment