How come the following terminal command:
curl -H "Content-Type: application/json" -XGET
'http://localhost:9200/southbay_xenforo211/_search' -d '{
"query": {
"match": {
"message": "test1234"
}
}
}'
comes back with this error:
[southbay@server forums211]$ curl -H "Content-Type: application/json" -XGET
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
[southbay@server forums211]$ 'http://localhost:9200/southbay_xenforo211/_search' -d '{
> "query": {
> "match": {
> "message": "test1234"
> }
> }
> }'