# Action to receive file in request body

**URL:** <https://www.ruby-forum.com/t/action-to-receive-file-in-request-body/134072>\
**Category:** Rails\
**Created:** [April 7, 2008, 4:48pm UTC](https://www.ruby-forum.com/t/action-to-receive-file-in-request-body/134072 "2008-04-07T16:48:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunprabu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e47774/32.png) [@arunprabu](https://www.ruby-forum.com/u/arunprabu)\
**Post date:** [April 7, 2008, 4:48pm UTC](https://www.ruby-forum.com/t/action-to-receive-file-in-request-body/134072/1 "2008-04-07T16:48:42Z")

</div>

Hi,

I have a requirement in which I have to host a URL to which another  
external application will send a file. This will not have any param  
name or query string. Basically, the external application will open  
the URL I have exposed and send the file in a put request. Can some  
one let me know how to create an action for this requirement.

thanks in Advance  
Arun
