Skip to content

Instantly share code, notes, and snippets.

View joverthegrey's full-sized avatar

Joost Vermeulen joverthegrey

View GitHub Profile
@joverthegrey
joverthegrey / Code.js
Last active June 25, 2018 13:21
A JSON-RPC API implementation for Google Script
/**
* POST or GET request methods
*/
function doPost(request) {
var jsonData = null;
// no body
if (request == undefined || request.postData == undefined || request.contentLength == 0) {
return failParseError();

Keybase proof

I hereby claim:

  • I am joverthegrey on github.
  • I am jover (https://keybase.io/jover) on keybase.
  • I have a public key whose fingerprint is 2657 2985 7BA0 971E 69A7 023D 8CE5 0282 D0E5 148A

To claim this, I am signing this object: