postman载入ES样本数据

载入样本数据时,使用sense操作:

POST /bank/account/_bulk?pretty -data-binary @accounts.json

报错如下:Request failed to get to the server (status code: 0):

分析:应该是没有找到这个文件,网上找到一个使用postman载入样本数据的方式如图所示:

postman载入ES样本数据

按上述顺序操作,即可导入数据