みんなに優しく、解りやすくをモットーに開設しています。 以下のルールを守りみんなで助け合いましょう。
1.ファイルメーカーで解らない事があればここで質問して下さい。 何方でも、ご質問・ご回答お願いします。 (優しく回答しましょう)
You are not logged in.
Pages: 1
いつもお世話になっています。佐藤と申します。
FileMaker17(Mac)を利用しています。
FileMaker17から GoogleDrive上の既存のGoogleSpreadSheetの値を変更したいと思っています。
GoogleDevelopersのOAuth 2.0 Playgroundでテストするとうまく動作するのですが、これをFileMakerから操作しようとするとエラーが出てしまいます。
OAuth 2.0 Playground
Request URI:
https://sheets.googleapis.com/v4/spreadsheets/[spreadsheetId]:batchUpdate
Request:
POST /v4/spreadsheets/[spreadsheetId]:batchUpdate HTTP/1.1
Host: sheets.googleapis.com
Content-length: 168
Content-type: application/json
Authorization: Bearer ya29.[Access token]
cURLの記述方法が間違っているのだと思うのですが、アドバイスいただければと思います。
URLのフィールドの値
https://sheets.googleapis.com/v4/spreadsheets/[spreadsheetId]:batchUpdate
cURLフィールドの値
-X POST
-H "Content-type: application/json"
-H "Authorization: Bearer [Access token]"
-d "body=[body]"
無事アップロードできました。
ありがとうございます。感謝です。
Pages: 1
[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 557.23 KiB (Peak: 581.56 KiB) ]