Below info about the integration
Base URL : https://www.googleapis.com/upload/drive/v3/files
Method : POST
Query Parameters :
- uploadType : multipart
Headers :
- Content-Type : application/dxf
Request Body :
Request Body
The file size in Appian is equal to 1.47 MB but after upload in google drive it gets down to 18 octets.
Appian Integration:
HttpResponse
statusLine”HTTP/1.1 200 OK”(Text)
statusCode200(Number (Integer))
headersDictionary
X-GUploader- UploadID”ABPtcPr4GiRnSQWiZvwtLa1ADyV_DliYzjriBgcMVYQZCe0Uuw-0iOP2PEItAvnjJDd-ZNB4xBs”(Text)
Access-Control-Allow-Credentials”true”(Text)
Cache-Control”no-cache, no-store, max-age=0, must-revalidate”(Text)
Content-Type”application/json; charset=UTF-8″(Text)
Date”Wed, 10 Jan 2024 10:14:34 GMT”(Text)
Expires”Mon, 01 Jan 1990 00:00:00 GMT”(Text)
Pragma”no-cache”(Text)
Server”ESF”(Text)
Vary”Origin, X-Origin”(Text)
X-Content-Type-Options”nosniff”(Text)
X-Frame-Options”SAMEORIGIN”(Text)
X-XSS-Protection”0″(Text)
Content-Length”127″(Text)
Alt-Svc”h3=”:443″; ma=2592000,h3-29=”:443″; ma=2592000″(Text)
contentType”application/json; charset=UTF-8″(Text)
bodyDictionary
kind”drive#file”(Text)
id”1DdZKFMaOb8vjUGLUZBkoI1NUJ-sfGS0h”(Text)
name”Untitled”(Text)
mimeType”application/dxf”(Text)
Please edit your question and include your code