REST APIs implemented using Spring Boot
- Build the project by running
mvn clean packageinside module - Once successfully built, run the service by using the following command:
java -jar money-transfer-core/money-transfer-core-0.0.1-SNAPSHOT.jar
POST /account
Accept: application/json
Content-Type: application/json
{
"name" : "1111",
"balance" : 100
}
Get /account/{accountNumber}
Accept: application/json
Content-Type: application/json
PUT /account/transfer
Accept: application/json
Content-Type: application/json
{
"from" : "1111",
"to" : "2222",
"amount": 10
}
Not implemented yet.
Not implemented yet.