Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

229
Views
Send a JSON with file in it to Flask BE using axios and React FE

I was wondering if there is a way to send an object with files in it to the backend. The purpose is, I have a list of users and I want to send their name, address, etc. along with the resume they upload. The form I want is this:

{ name: ..., address: ..., resume: File Object, ... }

I am sending it using Formdata() with the content type of multi-part/form-data but my request shows it as data: object Object. I cannot read it because of this. If I jsonify it, then I can see the data, but the files show up as an empty object. Is there any way to send in the form above? Or, is there a way I can read it in my Flask backend? I want it in the form above so that it is easy for me to extract the resume for each user in the backend. If I separate out the resume from the object, I will need a way to map it to the user. That will also require me to figure out how to send the user id and the resume file together.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!