I am learning to use cURL and I need to run this in a console:
curl -XGET localhost:9200/library/book/_search?pretty=true -d {
"query" : {
"query_string" : { "query" : "title:crime" }
}
}
But this is a multi-line command. How can I handle it to send a complete command?
Note that I understand I can put the content after -d in a file to run this command.