Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Negrash/Transfers-RESTfull-API

Open more actions menu

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.