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

245
Views
¿Cómo establecer encabezados para un elemento en formData en angular/javascript?

Quiero establecer un encabezado personalizado en un elemento de mi formData. Actualmente estoy usando la biblioteca de "datos de formulario", pero desafortunadamente no se muestra nada como encabezado en la pestaña de red.

Aquí está mi código:

 import FormData from "form-data"; formData.append(key, value, { header: {"X-Custom-Header":"34234234"} })

también este es mi registro de red:

 ------WebKitFormBoundaryccq9RNX2QmnHQ3oN Content-Disposition: form-data; name="documentImage"; filename="[object Object]"

Tipo de contenido: imagen/jpeg

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!