val ids: Seq[String] = ... val base = url("http://host/service") val requests = ids map { base / _ }
PUT a fileSimilar to the POST verb, Dispatch supplies a <<< verb to apply the PUT method and set a java.io.File as the request body.def myPut = myRequest <<< myFile
no subject
Date: 2013-09-08 11:15 am (UTC)no subject
Date: 2013-09-08 12:16 pm (UTC)Oh the lovely fast-paced Scala world :)
no subject
Date: 2013-09-09 09:11 pm (UTC)http://www.flotsam.nl/dispatch-periodic-table.html
no subject
Date: 2013-09-09 09:16 pm (UTC)no subject
Date: 2013-09-09 09:17 pm (UTC)PUT a file
Similar to the POST verb, Dispatch supplies a <<< verb to apply the PUT method and set a java.io.File as the request body.
def myPut = myRequest <<< myFile
В крестики не наигрались.
no subject
Date: 2013-09-09 09:21 pm (UTC)