Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed #11 - #11

  • Loading branch information...
commit e62b02e99edd1c4f10d30175366d3e222f255401 1 parent 97bb9db
@paulbjensen paulbjensen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 server/scriptDownloader.coffee
View
4 server/scriptDownloader.coffee
@@ -83,10 +83,10 @@ pythonScript = '# Instructions
\nimport requests
\nimport json
\n
-\ndata = json.dumps(JSONDATA)
+\npayload = JSONDATA
\nheaders = {\'content-type\': \'application/json\'}
\n
-\nrequests.post(\'URL\', data)'
+\nrequests.post(\'URL\', data=json.dumps(payload),headers=headers)'
attributes =
rb:
Please sign in to comment.
Something went wrong with that request. Please try again.