Pag-upload og mga hulagway ug mga file nga libre

Bashify usa ka libre nga serbisyo sa web nga magamit sa pag-post og mga imahe, mugbo nga video o uban pang mga file ug makakuha mga link alang sa Reddit, Facebook, Twitter, blog ug forum.

Sa unsang paagi kini molihok?

Gamita ang kahon sa ubos para ihulog ang imong mga file o i-klik ang kahon aron mapili ang mga hulagway o mga file. Walay registration o sign-up. Mahimo kang mag-upload og daghang mga butang sa samang higayon ug makadawat og usa ka link alang sa matag butang. Tanang upload kay anonymous.

I-klik o ihulog ang mga file dinhi aron ma-upload

Alang sa mga imahe, bisan unsang format sa imahe gisuportahan (pananglitan: 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