Skip to content

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

@RaisunLakra

Description

@RaisunLakra

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions