Skip to content
File REST API with POST method example
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
.gitattributes
.gitignore
README.md
mule-artifact.json
pom.xml

README.md

File REST API Example for Mule 4.x

This project is an example of a File REST API that shows how to POST a file. It includes the RAML spec and the Mule application. The Mule app, takes the file as multipart/form-data and and saves it to a folder in the app. This can be re-purposed to save the file to S3 or an FTP server.

HTTP POST Request

When making the POST request, set the body to form-data and make sure the key for the file is named fileName

You can’t perform that action at this time.