curl-generator
curl-generator copied to clipboard
Use single quotes around URL
This change adds single quotes around the URL of the curl command.
It makes sure to make curl commands with a URL that contains multiple query param work well in *nix terminals.
e.g. curl http://example.com?query=one&query=two the terminal will interpret the & character as a “send to background” command. See this SO thread for details
Hello, thanks for your contribution, may I ask you to check this, tests would need to be updated (I just added a workflow to run them on PRs so it's easier to see the issue)