Skip to content

Curl call for file upload not working #30

@chaki13

Description

@chaki13

For my POST service when I use the option "Try it out", upload image and choose Execute my curl call look like

curl -X POST "http://localhost:8080/my-service/api/documents" -H "accept: */*" -H "Content-Type: multipart/form-data" -F "files=[object File]"

And I get response that no files are sent. And the curl call looks like it's missing file location or I'm wrong?

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