Skip to content

Negrash/Transfers-RESTfull-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Account transfer Rest API

A Java RESTful API for transfers between accounts. Application starts on localhost port 8090 an H2 in memory database.

Endpoints

Method Url Request body example Description
GET /accounts get all accounts
GET /accounts/{id} get account by id
POST /accounts/{name}/{amount} create a new account
GET /transfers get all transfers
PUT /transfers {"fromId": 1, "toId": 2, "amount": 33.33} perform transaction between 2 accounts

About

Demo RESTful API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages