Skip to content

support -T option #26

@joelclermont

Description

@joelclermont

From the Transitor API docs:

curl -v -X PUT \
  -H "Content-Type: audio/mpeg" \
  -T /path/to/your/audio/Episode1.mp3 \
  "upload_url_from_authorize_upload"

The Content-Type header and -T option can be replaced with withBody($contents, 'audio/mpeg') where $contents is the complete file contents. (Like via file_get_contents)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions