mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
use transfer.sh in other programming language #344
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shayanzare on GitHub.
Hello.
How can i use transfer.sh api in other programming language like ruby and c++?
have lib for this language?
Thanks.
@kmkmjhyiiiu commented on GitHub:
You can use curl to transfer your file.
@mitchellurgero commented on GitHub:
Ruby, PHP, C++,C#, etc,etc all support "curl" like http clients. So uploading to transfer.sh using pretty much any language will work fine.
@retorquere commented on GitHub:
I'm looking to upload a text snippet I have in-code (in Ruby) that I want to upload to transfer.sh; if possible I'd like to do so directly without first writing it to disk. I currently have this:
but this gets me an empty response body in all those cases. It must be something I'm doing wrong in Ruby, because this python snippet works just fine: