Open dbushenko opened 8 years ago
Is it possible to upload files with chinook? If we look at the Request type
data Request = Request { headers :: [(String, Maybe String)], queryParams :: [(String, [String])], pathParams :: [(String, String)], body :: Maybe String }
it is not clear where to get the binary input stream...
Not at the moment. Checking at sparkjava.com the way to go would be exposing the raw() method and accessing an input stream from it http://sparkjava.com/documentation.html#examples
raw
Is it possible to upload files with chinook? If we look at the Request type
data Request = Request { headers :: [(String, Maybe String)], queryParams :: [(String, [String])], pathParams :: [(String, String)], body :: Maybe String }
it is not clear where to get the binary input stream...