# Upload a PDF using WebAPI (binary)

**URL:** <https://community.thunkable.com/t/upload-a-pdf-using-webapi-binary/2579225>\
**Category:** Questions about Thunkable X\
**Created:** [September 5, 2023, 11:53pm UTC](https://community.thunkable.com/t/upload-a-pdf-using-webapi-binary/2579225 "2023-09-05T23:53:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hdawc](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hdawc/32/119068_2.png) [@hdawc](https://community.thunkable.com/u/hdawc)\
**Post date:** [September 5, 2023, 11:53pm UTC](https://community.thunkable.com/t/upload-a-pdf-using-webapi-binary/2579225/1 "2023-09-05T23:53:24Z")

</div>

I’ve read a few posts on this and most posters are either referred to Cloudinary, or in a couple of cases have no answer.

What I’d like to do is set the Body of the API as the (binary) PDF chosen by the user.

In blocks there is no options, and it seems like there is only String and Multipart Form; [Web APIs Blocks - Thunkable Docs](https://docs.thunkable.com/blocks/advanced-app-features/web-api#:~:text=Body%20of%20your%20API%20call.%20Select%20from%20String%20or%20Multipart%20Form%20Data).

Uploading or using binary data is a fairly _expected_ feature, one that is useful, and allows for manipulating/ sending basically any kind of data.

I even tried setting the PDF reader’s file as the file chosen, then set the body as the PDF reader’s file.

Unless there is something I’m missing, there seems to be no way to send binary data in the body.

Is there another way to do this, or is this just not possible?

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 4, 2023, 11:53pm UTC](https://community.thunkable.com/t/upload-a-pdf-using-webapi-binary/2579225/2 "2023-12-04T23:53:48Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
