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
[ Home | Post Entry | Log in | Search | Browse Options | Site Map ]
no subject
no subject
Oh the lovely fast-paced Scala world :)
no subject
http://www.flotsam.nl/dispatch-periodic-table.html
no subject
no subject
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