Groups
Groups
Sign in
Groups
Groups
Dispatch
Conversations
About
Send feedback
Help
<< <in reboot
26 views
Skip to first unread message
pelagic
unread,
Nov 10, 2012, 7:58:46 PM
11/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dispatc...@googlegroups.com
Is there any reason why this method doesn't exist in reboot?
def <<< (body: String) = {
defaultMethod("PUT").setBody(body)
}
Currently it looks like you can only PUT a java.io.File.
Cheers,
Greg
pelagic
unread,
Nov 10, 2012, 8:25:40 PM
11/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dispatc...@googlegroups.com
Answering my own question, sorry should have read this first!!!!
http://dispatch.databinder.net/HTTP+methods+and+parameters.html
something like this should work
url("someurl").PUT.setBody("{foo: "bar"}")
Reply all
Reply to author
Forward
0 new messages