Skip to content

Instantly share code, notes, and snippets.

@mtorrisi
Created November 16, 2016 14:15
Show Gist options
  • Save mtorrisi/85fe7228f4c66500132f0fb6ff3128b5 to your computer and use it in GitHub Desktop.
Save mtorrisi/85fe7228f4c66500132f0fb6ff3128b5 to your computer and use it in GitHub Desktop.
Upload input files
## COMMAND
curl -i -F "file[]=@sayhello.txt" -F "file[]=@sayhello.sh" "http://151.97.41.66:8888/v1.0/tasks/16/input?user=user"
## EXPECTED OUTPUT
{
"files": [
"sayhello.txt",
"sayhello.sh"
],
"message": "uploaded",
"task": "16",
"gestatus": "triggered"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment