Query es 2.3 to es 5.5

That's what I meant.

get ignores basically the body.
GET is the right syntax.

It tells you that you are using an API that has been removed.
You need to fix it.

And please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

I edited your first post to make it readable but please format your next questions.