Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
how to post data in ruby ? Plz Help !
Pradeepta Swain
3/6/2008 1:28:00 PM
Hi ,
I am trying to send a json object through ruby whose equivalent
code in java script is req.send(jsonobject) , also i want to add headers
to the request . I am using the code request.add_field("Cookie","12345")
How can i send jsonobject using the same request object ??
--
Posted via
http://www.ruby-...
.
1 Answer
Ilan Berci
3/7/2008 3:06:00 AM
0
Pradeepta Swain wrote:
> Hi ,
>
> I am trying to send a json object through ruby whose equivalent
> code in java script is req.send(jsonobject) , also i want to add headers
> to the request . I am using the code request.add_field("Cookie","12345")
>
> How can i send jsonobject using the same request object ??
check out the gem mechanize
http://mechanize.rubyforge.org/...
hth
ilan
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
how to post data in ruby ? Plz Help !
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password