post-elastic post request to an endpoint with an elasticsearch formated payload: { type: elasticsearch-table, payload: json-object }