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?

Logic Apps / Power AutomateでkintoneファイルアップロードAPIを利用する

0
Posted at

目的

ファイルをアップロードする - cybozu developer network

kintoneのファイルアップロードAPIをLogic Apps / Power Automateから行う手順です。動作確認はLogic Appsで行いましたが、おそらくPower Automateでも動くと思います。

HTTPアクション

HTTPアクションを使い下記の通り指定します。 <ファイル名> <コンテントタイプ> <コンテントのバイトデータ> は適宜変更します。<コンテントのバイトデータ> はバイトデータを利用しBase64文字列は使えません。

image.png

{
  "$content-type": "multipart/form-data",
  "$multipart": [
    {
      "headers": {
        "Content-Disposition": "form-data; name=\"file\"; filename=\"upload.bin\"; filename*=UTF-8''<ファイル名>"
      },
      "body": {
        "$content-type": "<コンテントタイプ>",
        "$content": "<コンテントのバイトデータ>"
      }
    }
  ]
}
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?