Commit 2b51cb3d authored by Ivan Tyagov's avatar Ivan Tyagov

Better message.

parent 386366ea
......@@ -23,4 +23,6 @@ headers = {'CONTENT_TYPE': 'application/octet-stream'}
r = requests.post(ingestion_policy_url,
params = params,
headers=headers)
print "Response=%s" %r.status_code
if r.status_code >= 200 and r.status_code<=204:
print "Successfully uploaded %s bytes to Wendelin." %len(payload)
Markdown is supported
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