Postman是一款功能強大的網(wǎng)頁調(diào)試與發(fā)送網(wǎng)頁HTTP請求的Chrome插件
Postman背景介紹
用戶在開發(fā)或者調(diào)試網(wǎng)絡(luò)程序或者是網(wǎng)頁B/S模式的程序的時候是需要一些方法來跟蹤網(wǎng)頁請求的,用戶可以使用一些網(wǎng)絡(luò)的監(jiān)視工具比如著名的Firebug等網(wǎng)頁調(diào)試工具。今天給大家介紹的這款網(wǎng)頁調(diào)試工具不僅可以調(diào)試簡單的css、html、腳本等簡單的網(wǎng)頁基本信息,它還可以發(fā)送幾乎所有類型的HTTP請求!Postman在發(fā)送網(wǎng)絡(luò)HTTP請求方面可以說是Chrome插件類產(chǎn)品中的代表產(chǎn)品之一。
Postman的操作環(huán)境
postman適用于不同的操作系統(tǒng),Postman Mac、Windows X32、Windows X64、Linux系統(tǒng),還支持postman 瀏覽器擴展程序、postman chrome應(yīng)用程序等。
下面給大家介紹使用postman操作ElasticSearch的方法,具體內(nèi)容如下所示:
下載安裝好postman之后
添加索引blog1(因為ElasticSearch是restful請求所以我們用postman發(fā)送http請求給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)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
您可能感興趣的文章:- Java elasticsearch安裝以及部署教程
- springboot中使用ElasticSearch的詳細教程
- Java調(diào)用elasticsearch本地代碼的操作方法
- 使用elasticsearch定時刪除索引數(shù)據(jù)
- Elasticsearch工具cerebro的安裝與使用教程
- docker安裝ElasticSearch:7.8.0集群的詳細教程
- elasticsearch+logstash并使用java代碼實現(xiàn)日志檢索
- 關(guān)于注解式的分布式Elasticsearch的封裝案例
- Elasticsearch使用常見問題解決方案
- 詳解Java ES多節(jié)點任務(wù)的高效分發(fā)與收集實現(xiàn)