Thomas Levesque 9/4/2018

Handling multipart requests with JSON and file uploads in ASP.NET Core

Read Original

This technical article explores how to handle multipart HTTP requests that combine JSON metadata and file uploads in ASP.NET Core APIs. It discusses the limitations of base64 encoding and separate requests, then provides a detailed solution using a custom model binder to parse a multipart form where one part contains JSON and another contains a file.

Handling multipart requests with JSON and file uploads in ASP.NET Core

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week