# How can I use the request

**URL:** <https://www.ruby-forum.com/t/how-can-i-use-the-request/173873>\
**Category:** Deployment\
**Created:** [August 17, 2009, 3:48pm UTC](https://www.ruby-forum.com/t/how-can-i-use-the-request/173873 "2009-08-17T15:48:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgreenly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/85f322/32.png) [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Post date:** [August 17, 2009, 3:48pm UTC](https://www.ruby-forum.com/t/how-can-i-use-the-request/173873/1 "2009-08-17T15:48:08Z")

</div>

I want to upload a file,and I can’t use the file upload dialog.I use  
xmlhttp to send the file in a xmlhttp request,and how can I get the file  
at serverside? Here is the client code
