crAPI icon indicating copy to clipboard operation
crAPI copied to clipboard

Docs improvement: curl command needs -L flag for GitHub ZIP download

Open RaisunLakra opened this issue 1 month ago • 0 comments

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!

RaisunLakra avatar Dec 23 '25 05:12 RaisunLakra