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
Jakub Piotr Nowak 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. NowakIt doesnt matter, but @name = params[:person][:name] Is nicer looking. j`ey -- Posted via http://www.ruby-forum.com/.