A working example of multipart file upload to a protected REST API.
- REST API built on .NET Core, allows files upload. Set local port to 5000 in
launchSettings.jsonand run with
dotnet runfrom command line.
- Chakram integration test, which uploads a file to the API, and asserts response status code to be 200. Run in the command line with
Blog post with more details is here.