Simple File Upload Example (Jersey / Spring Boot 2.0.1.RELEASE) Run the FileUploadApplication main class. curl -F file=@<some-file> http://localhost:8080/api/upload