Postman是一款功能強(qiáng)大的網(wǎng)頁(yè)調(diào)試與發(fā)送網(wǎng)頁(yè)HTTP請(qǐng)求的Chrome插件
Postman背景介紹
用戶在開(kāi)發(fā)或者調(diào)試網(wǎng)絡(luò)程序或者是網(wǎng)頁(yè)B/S模式的程序的時(shí)候是需要一些方法來(lái)跟蹤網(wǎng)頁(yè)請(qǐng)求的,用戶可以使用一些網(wǎng)絡(luò)的監(jiān)視工具比如著名的Firebug等網(wǎng)頁(yè)調(diào)試工具。今天給大家介紹的這款網(wǎng)頁(yè)調(diào)試工具不僅可以調(diào)試簡(jiǎn)單的css、html、腳本等簡(jiǎn)單的網(wǎng)頁(yè)基本信息,它還可以發(fā)送幾乎所有類型的HTTP請(qǐng)求!Postman在發(fā)送網(wǎng)絡(luò)HTTP請(qǐng)求方面可以說(shuō)是Chrome插件類產(chǎn)品中的代表產(chǎn)品之一。
Postman的操作環(huán)境
postman適用于不同的操作系統(tǒng),Postman Mac、Windows X32、Windows X64、Linux系統(tǒng),還支持postman 瀏覽器擴(kuò)展程序、postman chrome應(yīng)用程序等。
下面給大家介紹使用postman操作ElasticSearch的方法,具體內(nèi)容如下所示:
下載安裝好postman之后
添加索引blog1(因?yàn)镋lasticSearch是restful請(qǐng)求所以我們用postman發(fā)送http請(qǐng)求給ElasticSearch)

{
"mappings":{
"article":{
"properties":{
"id":{
"type":"long",
"store":"true",
"index":"true"
},
"title":{
"type":"text",
"store":"true",
"index":"true",
"analyzer":"standard"
},
"context":{
"type":"text",
"store":"true",
"index":"true",
"analyzer":"standard"
響應(yīng)成功

到此這篇關(guān)于使用postman操作ElasticSearch的方法的文章就介紹到這了,更多相關(guān)postman操作ElasticSearch內(nèi)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
您可能感興趣的文章:- Java elasticsearch安裝以及部署教程
- springboot中使用ElasticSearch的詳細(xì)教程
- Java調(diào)用elasticsearch本地代碼的操作方法
- 使用elasticsearch定時(shí)刪除索引數(shù)據(jù)
- Elasticsearch工具cerebro的安裝與使用教程
- docker安裝ElasticSearch:7.8.0集群的詳細(xì)教程
- elasticsearch+logstash并使用java代碼實(shí)現(xiàn)日志檢索
- 關(guān)于注解式的分布式Elasticsearch的封裝案例
- Elasticsearch使用常見(jiàn)問(wèn)題解決方案
- 詳解Java ES多節(jié)點(diǎn)任務(wù)的高效分發(fā)與收集實(shí)現(xiàn)