Post File In Multipart Form

So far I have been able to post forms elements to controllers by adding header


Content-Type:application/x-www-form-urlencoded

Now I want to post a file. If I was using PHP forms I would use just a multipart form with file field.

How do I emulate that with Rest?

Thanks!