This seems to be an issue with zsh solved here.
There are several ways to solve this:
- You can escape the question mark ? in the url by quoting the url as explained by @huzaifa-saifuddin to avoid zsh treating it as a wildcard character.
 - As explained here, you can create an alias for curl: 
alias curl='noglob curl' - As explained here, you can disable to nomatch handling by adding the following to your ~/.zshrc: 
unsetopt nomatch 



