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

258
Views
React native, send xml string as .xml file

I'm trying to send xml string as a .xml file to server but I unable to find any solution for that. Can someone please tell me how to do that?

I tried this but didn't worked

const xml = "<Session>
    <TestTargetTagSession>TestSession</TestTargetTagSession>
  </Session>"
 const formData = new FormData();
    formData.append('file', {
      file: xml,
      type: 'xml',
      name: 'demo.xml',
    });

Please help

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!