URL-Encoding Spaces in curl GET Requests
When you run a curl GET request with spaces in the query string, the shell interprets the space as a separator and truncates the URL: curl “http://example.com/send?msg=hello world” The space causes the shell to treat world as a separate argument, so only hello gets sent. You need to properly URL-encode the space (and other special…
