Sending msearch/template request without using -data-binary

Hi
From the link https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-search-template.html
it uses data-binary option of curl.Is is possible to this command without that option and instead pass the query directly over curl?

Thanks

Without having it tried out, I would think so. Typing many distinct requests to the command-line sounds rather clumsy and error prone to me though.

The only thing that --data-binary does is to leave the newlines in the file referenced as they are instead of stripping them out.

Hope this helps,
Isabel

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.