File Upload Rest API Server and client example
The following items should be installed in your system:
- Tool - Spring Tool Suite
- Download this Project from Git.
git clone https://github.com/Sudarshan-Gowda/spring-boot-fileupload-restapi.git
- To Import the Project Using Eclipse or STS
File -> Import -> Maven -> Existing Maven project -> spring-boot-fileupload-restapi
File Upload Example | Class or Java property files |
---|---|
Application Configuration File | application.properties |
step 1
: Download this repository & do maven import
step 2
: Go to the main class file and run as Java application or execute commands mvn spring-boot:run
step 3
: Once the application starts, By default application will be deployed in 8080 port, and you can access it by using http://localhost:8080/
To Test the application you can use any rest api tool or postman as below,
Lets suppose you are the consumer and you need to consume the API's provided by vendors means you can achieve with many ways, in that Rest template is also one of the finest way to do that as below;
The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.