Skip to content

Upload artifact to existing deployment includes headers in file content #2399

Closed
@szogun1987

Description

@szogun1987

I have converted this article to use curl:

# Upload file content
curl -v -X PUT -F [email protected] -H "X-Octopus-ApiKey: ${OCTOPUS_API_KEY}" "${uploadUrl}"

Unfortunatelly it includes http part data:

--------------------------246875bc4e54cce7
Content-Disposition: form-data; name="fileData"; filename="report.html"
Content-Type: text/html

<!DOCTYPE html>
<html lang="en">

This is big issue for binary files, I can live with it for text ones.

Probably it is issue with octopus itself not with documentation so please move this issue to the right place.

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