初心者のFileMaker pro Q&A (旧掲示板)

みんなに優しく、解りやすくをモットーに開設しています。 以下のルールを守りみんなで助け合いましょう。

1.ファイルメーカーで解らない事があればここで質問して下さい。 何方でも、ご質問・ご回答お願いします。 (優しく回答しましょう)

You are not logged in.

Announcement

新しい掲示板は、こちら:https://fm-aid.com/forum/t/filemaker


#1 初心者のFileMaker pro Q&A » FileMaker17からGoogleSpreadSheetを操作する » 2019-01-17 23:48:51

toshio sato
Replies: 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]"

#2 Re: 初心者のFileMaker pro Q&A » chatworkにファイルをアップロードしたい » 2018-11-20 18:29:50

無事アップロードできました。
ありがとうございます。感謝です。

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 557.23 KiB (Peak: 581.56 KiB) ]