Http request, hash table


#1

Hello,

My problem is that I cannot figure out how to format data in the http
post request
using external C++ application, so then I could write in my controller:

@myHash = params[:person]
print 'Name: ', @myHash[:name]
or
@name = params[:person][:name]

Thanks in advance!

Jakub P. Nowak


#2

Jakub Piotr N. wrote:

Hello,

My problem is that I cannot figure out how to format data in the http
post request
using external C++ application, so then I could write in my controller:

@myHash = params[:person]
print 'Name: ', @myHash[:name]
or
@name = params[:person][:name]

Thanks in advance!

Jakub P. Nowak

It doesnt matter, but
@name = params[:person][:name]
Is nicer looking.

j`ey