postman是一款功能强大的网页调试与发送网页http请求的chrome插件

postman背景介绍

用户在开发或者调试网络程序或者是网页b/s模式的程序的时候是需要一些方法来跟踪网页请求的,用户可以使用一些网络的监视工具比如著名的firebug等网页调试工具。今天给大家介绍的这款网页调试工具不仅可以调试简单的css、html、脚本等简单的网页基本信息,它还可以发送几乎所有类型的http请求!postman在发送网络http请求方面可以说是chrome插件类产品中的代表产品之一。

postman的操作环境

postman适用于不同的操作系统,postman mac、windows x32、windows x64、linux系统,还支持postman 浏览器扩展程序、postman chrome应用程序等。

下面给大家介绍使用postman操作elasticsearch的方法,具体内容如下所示:

下载安装好postman之后  

添加索引blog1(因为elasticsearch是restful请求所以我们用postman发送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"

      响应成功

到此这篇关于使用postman操作elasticsearch的方法的文章就介绍到这了,更多相关postman操作elasticsearch内容请搜索www.887551.com以前的文章或继续浏览下面的相关文章希望大家以后多多支持www.887551.com!