Sounds like you found a workaround, but this is the way to do it:
Say for example the HTTP POST URL is
www.mywebsite.com/messages/incoming?name=johnny&amount=928339
In the incoming method of the messages_controller.rb, you can access
these parameters as follows:
@variable1 = params[:name]
@variable2 = params[:amount]
-Gavin
On Aug 20, 11:33 am, Teo Sor
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Hey everyone thanks for all the help! I think I finally got it.
I''m
> not using a Ruby friendly post format, so I didn''t want Ruby to
assume a
> post format and parse it into the hash automatically. In the end, I
> used the following to get the raw post data...and now I''m going to
parse
> it out myself.
>
> request.raw_post.to_s
>
> Again...Thanks for the help!
>
> T
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---