Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support -T option #26

Open
joelclermont opened this issue Oct 23, 2022 · 1 comment
Open

support -T option #26

joelclermont opened this issue Oct 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@joelclermont
Copy link

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)

@jasonmccreary
Copy link
Collaborator

Good one. I'll tag it.

@jasonmccreary jasonmccreary added the enhancement New feature or request label Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants