# Binary file type in REST api upload

**URL:** <https://community.weweb.io/t/binary-file-type-in-rest-api-upload/14256>\
**Category:** How do I?\
**Created:** [October 30, 2024, 12:03pm UTC](https://community.weweb.io/t/binary-file-type-in-rest-api-upload/14256 "2024-10-30T12:03:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Himanshu](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/himanshu/32/16305_2.png) [@Himanshu](https://community.weweb.io/u/Himanshu)\
**Post date:** [October 30, 2024, 12:03pm UTC](https://community.weweb.io/t/binary-file-type-in-rest-api-upload/14256/1 "2024-10-30T12:03:53Z")

</div>

In postman, we can keep the Body type as Binary and upload a file. How can I do the same in WeWeb?

 ![IMG_3572](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/62f13f5571aa7d10a9f75ccf6e340073efff3216.png)

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [October 30, 2024, 4:28pm UTC](https://community.weweb.io/t/binary-file-type-in-rest-api-upload/14256/2 "2024-10-30T16:28:03Z")

</div>

You need to set the content type to be the desired type. It’s a header you can set when sending a rest request
