Key reference
Result is here
# source https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/functions/http/main.py | |
# [START functions_http_form_data] | |
from werkzeug.utils import secure_filename | |
import zipfile | |
import shutil | |
from flask import send_file | |
# [END functions_http_form_data] | |
# [START functions_http_form_data] |
Key reference
Result is here
.DS_Store | |
.ipynb_checkpoints/ | |
*/.ipynb_checkpoints/ | |
*.pyc |
var parser = require("azure-func-multipart-parser"); | |
var localImports = require("../modules/local-imports.js") | |
const FormData = require("form-data"); | |
const fs = require('fs') | |
const { promisify } = require('util') | |
const readFileAsync = promisify(fs.readFile) | |
const writeFileAsync = promisify(fs.writeFile) | |
const run = async () => { | |
await writeFileAsync("/tmp/test/data.json", Buffer.from('Hello Node.js')); |