File Uploads

In this document, you'll learn how you can upload files to rake.red.

HTML Form

To support file uploads, you need to set the enctype of the form to multipart/form-data. If the enctype is omitted, it defaults to application/x-www-form-urlencoded, which does not support file inputs.

<form 
  method="post" 
  action="https://rake.red/api/{project}/{form}"
  enctype="multipart/form-data"
>
    <!-- adjust these to your needs -->
  <input type="file" name="cv" />
    
  <button type="submit">Send!</button>
</form>