Skip to content

Instantly share code, notes, and snippets.

@yomajkel yomajkel/post.scala
Created Sep 24, 2018

Embed
What would you like to do?
the description for this gist
path("uploadfile") {
withRequestTimeout(20.seconds) {
storeUploadedFile("csv", tempDestination) {
case (metadata, file) =>
// do something with the file and file metadata ...
complete(StatusCodes.OK)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.