Hi team π,
While following the documentation, I faced an issue when downloading the ZIP using curl.
GitHub ZIP URLs redirect (302), and curl does not follow redirects unless -L is used.
Without -L, the downloaded file is empty and unzip fails.
Current command:
curl -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip
Suggested fix:
curl -L -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip
This small change may help beginners avoid confusion.
Thanks for the awesome project!