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

167
Views
can not consume api elastic document using javascript

i try to consume elastic document api using javascript, but when i try to consume it there is error that show no handler found for uri [meikel-index/_doc/1/_source] and method GET

enter image description here

but if i consume the api without _souce, it shows the api as it should, but with _source it brings the error how to consume it properly

here is the javascript code:

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

picture the code works without _source at the end : enter image description here

how to properly consume it with javascript, do i miss something?

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!