免费上传图片和文件

Bashify 是一项免费的网络服务,可用于发布图像、短视频或其他文件,并获取 Reddit、Facebook、Twitter、博客和论坛的链接。

它是如何工作的?

使用下面的框来放置您的文件或单击框来选择图像或文件。 没有注册或注册。 您可以同时上传多个项目,每个项目都会收到一个链接。 所有上传都是匿名的。

单击或将文件拖放到此处以上传

对于图像,支持任何图像格式(例如:png、jpeg、gif、webp)

Error! Foo Bar.

Option 2: Upload from the command line using the API

Our convenient API allows uploading images or files from your terminal window. For example:

curl --form meta='{"exposure": "public", "expiration": "auto"}' \
     --form 'file=@/home/foobar/images/beautiful_sunset.jpg' \
     https://bashify.io/api/v1/upload
            
The above command will upload the image with the path /home/foobar/images/beautiful_sunset.jpg.

The response will be a JSON-formatted string like this:

{"short_url_code":"D5vH4M",
 "long_url_code":"D5vH4M_beautiful_sunset",
 "is_image":1,
 "deletion_code":"teP5EUKtL"}
            
From the above we can construct URLs: https://bashify.io/images/D5vH4M or https://bashify.io/images/D5vH4M_beautiful_sunset