Permalink
Browse files

Add a note to use --data-binary curl option for text config inputs

  • Loading branch information...
1 parent 37f0297 commit 231f771a70763b639fb77bf3940d5ae73a2b4920 Evan Chan committed Dec 9, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 jobserver/README.md
View
@@ -45,6 +45,11 @@ server will create its own SparkContext, and return a job ID for subsequent quer
}
}⏎
+NOTE: If you want to feed in a text file config and POST using curl, you want the `--data-binary` option, otherwise
+curl will munge your line separator chars. Like:
+
+ curl --data-binary @my-job-config.json 'localhost:8090/jobs?appNam=...'
+
From this point, you could asynchronously query the status and results:
curl localhost:8090/jobs/5453779a-f004-45fc-a11d-a39dae0f9bf4

0 comments on commit 231f771

Please sign in to comment.