Skip to content

Instantly share code, notes, and snippets.

@afranzi
Created October 23, 2018 21:46
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 afranzi/eef69c76591e68c393784605053592a6 to your computer and use it in GitHub Desktop.
Save afranzi/eef69c76591e68c393784605053592a6 to your computer and use it in GitHub Desktop.
# Query Tracking Server Endpoint
# Query Tracking Server Endpoint
curl -X POST \
http://127.0.0.1:5005/invocations \
-H 'Content-Type: application/json' \
-d '[
{
"fixed acidity": 3.42,
"volatile acidity": 1.66,
"citric acid": 0.48,
"residual sugar": 4.2,
"chloridessssss": 0.229,
"free sulfur dsioxide": 19,
"total sulfur dioxide": 25,
"density": 1.98,
"pH": 5.33,
"sulphates": 4.39,
"alcohol": 10.8
}
]'
> {"predictions": [5.825055635303461]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment