Skip to content

Instantly share code, notes, and snippets.

@AseedUsmani
Created March 30, 2018 23:55
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 AseedUsmani/daf0af36480afbe7e39eea78be37ea64 to your computer and use it in GitHub Desktop.
Save AseedUsmani/daf0af36480afbe7e39eea78be37ea64 to your computer and use it in GitHub Desktop.
payload = { 'task': 'index',
'disease': filename,
'url': uploaded_file_url,
'doc_id': 'id'}
r = requests.get('http://localhost:8080/?', params=payload)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment