回答編集履歴

1

ミスを見つけたので修正

2020/06/29 07:31

投稿

draq
draq

スコア2577

test CHANGED
@@ -62,15 +62,15 @@
62
62
 
63
63
  const response = UrlFetchApp.fetch(url, {
64
64
 
65
- headers: {
65
+ "headers": {
66
66
 
67
67
  Authorization: `Bearer ${ScriptApp.getOAuthToken()}`,
68
68
 
69
69
  },
70
70
 
71
- method: "GET",
71
+ "method": "GET",
72
72
 
73
- contentType: "application/pdf",
73
+ "Content-Type": "application/pdf",
74
74
 
75
75
  });
76
76