Question about sending pdf files using form-data

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

My question:

When making a POST request to send a pdf file using form-data, what is happening to the file? Is it getting encoded to base64 and then just sent as text? I’m trying to build an app where I post multiple pdfs without needing to select the individual files first, I want to read them all from a network path and make the POST request for each one. I’ve tried to view the raw request being made but when looking at the console, on the ‘Pretty’ log I just see ‘undefined’, and on the raw log I get ‘<[PROXY]>’. Any advice would be very much appreciated.

Details (like screenshots):

image

image

How I found the problem:

I’ve already tried: