Skip to content

Instantly share code, notes, and snippets.

@yuj18
Created August 10, 2016 12:01
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/90a7f96072a645626bef63f66e678d44 to your computer and use it in GitHub Desktop.
Save yuj18/90a7f96072a645626bef63f66e678d44 to your computer and use it in GitHub Desktop.
curl -H "Content-Type: application/json" -X POST -d '[{"@type":string,"@value":"SentimentScore"},{"@type":string,"@value":"2"},{"@type":string,"@value":"phrase"},{"@type":string,"@value":"score"},{"@type":string,"@value":"1.5"}]' http://gemfire-dsmicro-gemfire.run.haas-23.pez.pivotal.io/gemfire-api/v1/functions/KNN?onMembers=cacheserver0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment