Skip to content

Commit b88c21f

Browse files
committed
fix(doc): Add note about mime-type for POST /binaries API
Fixes spark-jobserver#792
1 parent 18ec021 commit b88c21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ Flow diagrams are checked in in the doc/ subdirectory. .diagram files are for w
765765
POST /binaries/<appName> - upload a new binary file
766766
DELETE /binaries/<appName> - delete defined binary
767767
768-
When POSTing new binaries, the content-type header must be set to one of the types supported by the subclasses of the `BinaryType` trait. e.g. "application/java-archive" or application/python-archive"
768+
When POSTing new binaries, the content-type header must be set to one of the types supported by the subclasses of the `BinaryType` trait. e.g. "application/java-archive" or application/python-archive". If you are using curl command, then you must pass "-H 'Content-Type: application/python-archive'" or "-H 'Content-Type: application/java-archive'".
769769
770770
### Jars (deprecated)
771771

0 commit comments

Comments
 (0)