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

140
Views
subir cargar decodificar cargar respuesta completa

Estoy tratando de decodificar la respuesta de carga y extraer el valor de la identificación del cupón. Estoy siendo tonto y estoy en blanco. ¿Alguna sugerencia?

 FileUploaded: function(up, file, response) { console.log("UPLOAD COMPLETED!!!") console.log("RESPONSE ",response); console.log(JSON.stringify(response)); console.log(jQuery.parseJSON(response)); },

La respuesta, por ejemplo, está abajo.

 {response: '{"OK":1,"info":{"name":"hedge bnackground.jpg","pa…ackground.jpg","size":"185738","voucher_id":"0"}}', status: 200, responseHeaders: 'access-control-allow-origin: *\r\ncache-control: no-…: Apache/2.4.41 (Ubuntu)\r\nvary: Accept-Encoding\r\n'}
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

 FileUploaded: function(up, file, information) { console.log("INFO ",information); let request = information; let data = JSON.parse(request.response) let voucher_id = data.info.voucher_id; console.log(voucher_id);
about 4 years ago · Juan Pablo Isaza Report
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!