Concept Flow - Indexing a document (POST/PUT)
Prepare JSON document
Send POST or PUT request
Elasticsearch receives request
Store document in index
Return response with status
Client receives confirmation
This flow shows how a JSON document is sent to Elasticsearch using POST or PUT to store it in an index and get a confirmation response.