fix elastic search and do post instead of get request