I am monitoring a sensor network through Etherios, a cloud based sensor network server. They have a PUSH MONITOR service. The service takes a username and password:
<Monitor>
<monTopic>DeviceCore,XbeeCore</monTopic>
<monTransportType>http</monTransportType>
<monTransportUrl>your website url</monTransportUrl>
<monTransportToken>username:password</monTransportToken>
<monFormatType>json</monFormatType>
<monBatchSize>100</monBatchSize>
<monCompression>none</monCompression>
<monBatchDuration>10</monBatchDuration>
</Monitor>
Is it possible to have data PUSHed directly to Google Drive? Will Drive accept the username:password for authorization? Or do I need to have the data PUSHed to an App and then put into another form that includes an authorization token specific to Goole Drive?:
POST https://www.googleapis.com/upload/drive/v2/files?uploadType=media
OR
POST /upload/drive/v2/files?uploadType=media HTTP/1.1
Host: www.googleapis.com
Content-Type: image/jpeg
Content-Length: number_of_bytes_in_JPEG_file
Authorization: Bearer your_auth_token