Google Calendar API batch insert events with Apps Script
问题 Using Google Apps Script's UrlFetchApp, how can I use the Google Calendar v3 API to insert events in batches? Google lists this example batch request, but I don't understand how exactly to convert it. POST /batch/farm/v1 HTTP/1.1 Authorization: Bearer your_auth_token Host: www.googleapis.com Content-Type: multipart/mixed; boundary=batch_foobarbaz Content-Length: total_content_length --batch_foobarbaz Content-Type: application/http Content-ID: <item1:12930812@barnyard.example.com> GET /farm/v1