Skip to content

Instantly share code, notes, and snippets.

@wronk
Created February 13, 2019 19:42
Show Gist options
  • Save wronk/b02903e61f986ad3f7236eef1063b447 to your computer and use it in GitHub Desktop.
Save wronk/b02903e61f986ad3f7236eef1063b447 to your computer and use it in GitHub Desktop.
TF Serving blog post: sending payload
# Send prediction request
r = requests.post(server_endpoint, data=payload)
print(json.loads(r.content)['predictions'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment