0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

curlでfile.ioにファイルを簡単にアップロードしてみよう

Posted at

file.io とは

file.ioとは無料ファイル共有サービス(当該ファイルは1回ダウンロードされると削除される)
https://www.file.io/

curlでファイルをアップロードしてみよう

ファイルを準備

mytest.txt
This is a test text!

curlでアップロード

$ curl -F "file=@mytest.txt" https://file.io/?expires=20y
{"success":true,"key":"OqmLn3if","link":"https://file.io/OqmLn3if","expiry":"7300 days"}%  

キーOqmLn3ifでアップロード成功した!

curlから確認(ファイルキー:OqmLn3if)

$ curl https://file.io/OqmLn3if                          
This is a test text!

よかったよかった

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?