JLRodenas
JLRodenas
Had the same problem but turns out it is the order of the middlewares. In my case this did the trick: middleware: function (connect, options, middlewares) { middlewares.unshift(require("grunt-connect-proxy/lib/utils").proxyRequest); middlewares.unshift(require("http-rewrite-middleware").getMiddleware( [...
Use a manual parsing code: ``` Gmail.Users.Messages.Attachments.Get get = api.getGmail().users().messages() .attachments().get(ME, gid, attachId); // Very important!! get.setPrettyPrint(false).setFields("data"); InputStream is = get.executeAsInputStream(); is = InputStreamJsonField.getBase64DataStream(is, "data"); ``` And InputStreamJsonField is just...