▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
The web is a wild place with no instruction manual. Some say querying a database is the job of servers. I say it’s every-man-for-himself. There ain’t no model-view-controller gonna hold me down. Here’s a dead simple example to POST and GET data from Elasticsearch using jquery - directly from the browser. Live dangerously.🌵☠️⚡
Seriously, it’s all in the browser! If you want to test locally…
python -m http.server 8000
localhost:8000
and open
consoleAddress
, Index
, and
Document Type
for your elasticsearch instance