# WEBrick GET/POST problem

**URL:** <https://www.ruby-forum.com/t/webrick-get-post-problem/77203>\
**Category:** Ruby\
**Created:** [November 25, 2006, 1:31am UTC](https://www.ruby-forum.com/t/webrick-get-post-problem/77203 "2006-11-25T01:31:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![T\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ce73a5/32.png) [@T\_E](https://www.ruby-forum.com/u/T_E)\
**Post date:** [November 25, 2006, 1:31am UTC](https://www.ruby-forum.com/t/webrick-get-post-problem/77203/1 "2006-11-25T01:31:49Z")

</div>

I need to write a servlet that will handle both GET and POST stuff, for  
example of you were to have something like … but I  
can’t figure out a way to do this. It would be nice if they would all  
go into the request object.

I am used to PHP’s $\_GET and $\_POST so feel free to laugh at me.

Thanks
