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

198
Views
¿Cómo pasar XML en el cuerpo de la solicitud POST en React Native?

Hola chicos, hice una aplicación React Native usando Expo y tengo una pregunta con respecto a una llamada de búsqueda .

Digamos que esta es mi llamada de búsqueda:

 const getMonthReport = async () => { await fetch("http:/xxx/jasperserver/rest_v2/reportExecutions", { method: "POST", headers: { "Accept": "application/xml", "Content-Type": "application/xml" }, body: { ... } }); }

¿Cómo puedo pasar mi XML como el cuerpo de la solicitud? Se parece a esto:

 <reportExecutionRequest> <reportUnitUri>/Test/MonthReport2</reportUnitUri> <async>false</async> <freshData>true</freshData> <saveDataSnapshot>false</saveDataSnapshot> <outputFormat>html</outputFormat> <interactive>false</interactive> <parameters> <reportParameter name="allHrs"> <value>90:00</value> </reportParameter> <reportParameter name="holidayHrs"> <value>07:36</value> </reportParameter> <reportParameter name="illHrs"> <value>18:00</value> </reportParameter> </parameters> </reportExecutionRequest>
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!