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

164
Views
no se puede consumir el documento elástico api usando javascript

Intento consumir la API del documento elástico usando javascript, pero cuando intento consumirlo, hay un error que muestra que no se encontró un controlador para uri [meikel-index/_doc/1/_source] y el método GET

ingrese la descripción de la imagen aquí

pero si consumo la api sin _souce, muestra la api como debería, pero con _source trae el error de cómo consumirla correctamente

aquí está el código javascript:

 fetch('http://192.168.20.47:9200/meikel-index/_doc/1/_source') .then(response => response.json()) .then(data => console.log(data));

imagen el código funciona sin _source al final: ingrese la descripción de la imagen aquí

cómo consumirlo correctamente con javascript, ¿me pierdo algo?

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!