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

247
Views
Form data object being empty after append

I am trying to append file to formData and send it with a request, howsever when I log just formData it's beign empty? When I console log mediaFile.value.files[0] you can see the image below.

Img

let formData = new FormData()
console.log(mediaFile.value.files[0])
formData.append(`${mediaFile.value.files[0].name}`, mediaFile.value.files[0])
console.log(formData)
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!