Skip to content

Missing example for file request with cy.request() #375

Open
@shwarcu

Description

@shwarcu

Example curl:

curl -X POST \
  https://localhost:8080/api/action/upload_file
  -H 'Authorization: Bearer some token' 
  -H 'Content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
  -F file=@/Users/Me/Documents/image.png

Is such action even supported? Could you please add an example of such request?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions