I tried and tried, read bunch of curl documentation, but there doesn't seem to be a way to pass such weird string with curl. Special characters (e.g. ! ? ;) will be interepreted by the shell so need ...
In the tutorial single quotes are being used around the URL. Windows however does not support single quotes and ends up passing the whole line including the pipe symbol and jq with its arguments to ...