Commit 5d88ca1d authored by ahoek's avatar ahoek
Browse files

Remove old code lines.

parent e7cffdce
......@@ -4,7 +4,7 @@ import requests
import logging
import json
#requestInfo = requests.get('http://localhost:5000')
# Get URL parameters for S3-POST-Upload from Cloud VM
requestInfo = requests.get('http://134.176.27.97/getS3UL')
......@@ -18,7 +18,6 @@ url = "https://s3.computational.bio.uni-giessen.de/wasptest"
with open(fileToUpload, 'rb') as f:
files = {'file': (fileToUpload, f)}
#http_response = requests.post(result['url'], data=result['fields'], files=files)
http_response = requests.post(url, data=requestJson, files=files)
print(http_response)
# If successful, returns HTTP status code 204
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment