Anthony Chu (@anthonychu@hachyderm.io) Profile picture
Dev turned product manager. Working on @AzContainerApp @AzureStaticApps. Prev @AzureFunctions @azureadvocates. Opinions mine. he/him โ˜๏ธ๐Ÿ’๐Ÿง‹๐ŸŒป
Jun 21, 2022 โ€ข 4 tweets โ€ข 3 min read
A couple of small but useful improvements in Node.js @AzureFunctions and @AzureStaticApps have shipped!

๐Ÿ“ Built-in parsing of multipart form data
๐Ÿชช Easily access authenticated user details

Here's how they work... ๐Ÿงต It's common for web apps (esp @AzureStaticApps) to post data from a form. There's now a parseFormBody() method on the @AzureFunctions request. Use it to access multipart form data, including files. Here's an example that uploads a file to blob storage. const { BlobServiceClient }...