Curl no URL specified

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"
> }
>   }
> }'

That needs to be one line.

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