Please format your code, logs or configuration files using </>
icon as explained in this guide and not the citation button. It will make your post more readable.
Or use markdown style like:
```
CODE
```
This is the icon to use if you are not using markdown format:
There's a live preview panel for exactly this reasons.
Here the URL seems wrong to me. It should be something like:
url => "http://localhost:9200/test1/_update_by_query?q=id:1"
or
url => "localhost:9200/test1/_update_by_query?q=id:1"