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

113
Views
POST calls from Postman and translating it to javascript

Im new to web development, and I have setup my postman and it makes successful POST calls to the appropriate link, I am trying to replicate this in javascript, but I wasn't sure what I would use, do I use fetch, $.ajax or XMLHttpRequest. Postman is sending a Body aswell with values one of them being an uploaded file, and some header values one of the header values being Content-Type: "multipart/form-data", I assume I should be sending them as well, but I am not sure what the syntax or format would be. Currently I keep getting error 400 or sometimes error 412.

about 4 years ago · Santiago Gelvez
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!