Groups
Sign in
Groups
restfulie
Conversations
About
Send feedback
Help
Restfulie and JSON-RPC
14 views
Skip to first unread message
anderson_leite
unread,
Sep 20, 2011, 10:40:14 PM
9/20/11
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 restfulie
In order to make a JSON-RPC call I need to set:
> the server url
> the method (GET/POST)
> set the content type to application/json
> pass the json data, i.e. { 'param' : 'a', 'param' : 'b'}
Can you help me to create this JSON RPC call ?
Thanks in advance
Lucas Cavalcanti
unread,
Sep 21, 2011, 8:13:34 AM
9/21/11
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 rest...@googlegroups.com
I think it is:
response = Restfulie.at(url).as("application/json").post(:param => 'a', :other => 'b')
Reply all
Reply to author
Forward
0 new messages