es-head chrome插件請求報錯: Content-Type header [application/x-www-form-urlencoded] is not supported
如圖:
對應方法:
修改目錄(elasticsearch5.x-head-chrome\elasticsearch-head)的vendor.js文件
1、6886行和7573行的
application/x-www-form-urlencoded 替換爲application/json;charset=UTF-8
請求就可以了:
備註:es-head chrome插件下載地址
https://download.csdn.net/download/u013761206/11604040