Skip to content

Use with basic auth? #9

@andrejohansson

Description

@andrejohansson

Do you have an example of using this with basic auth?

Without basicauth I get this to work, but if I add the following I get 500 internal server error.

@appversionpost method POST
upload @appversionpost {
	dest_dir /public-files
	max_form_buffer 1G
	max_filesize 4G
}

# Protect the upload endpoint with an API key
basicauth @appversionpost {
	# Password is bcrypt encoded
	someusername $2a$12$....
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions