Skip to content

sharmapankaj2512/funds-transfer-vlingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CREATE ACCOUNT

 curl -i -X POST -H "Content-Type: application/json" -d '{"userId":"123-123123"}' http://localhost:18080/accounts

FETCH ACCOUNT

 curl -i -X GET -H "Content-Type: application/json" http://localhost:18080/accounts/85                          22:39:05

DEPOSIT AMOUNT

curl -i -X PATCH -H "Content-Type: application/json" http://localhost:18080/accounts/85/balance/10

WITHDRAW AMOUNT

curl -i -X DELETE -H "Content-Type: application/json" http://localhost:18080/accounts/85/balance/10

FUNDS TRANSFER

curl -i -X POST -H "Content-Type: application/json" -d '{"userId":"123-123123"}' http://localhost:18080/accounts
curl -i -X POST -H "Content-Type: application/json" -d '{"userId":"2344"}' http://localhost:18080/accounts
curl -i -X PATCH -H "Content-Type: application/json" http://localhost:18080/accounts/64/balance/10
curl -i -X POST -H "Content-Type: application/json" -d '{"from":"64", "to": "65", "amount": 10}' http://localhost:18080/transfers
curl -i -X GET -H "Content-Type: application/json" http://localhost:18080/accounts/64
curl -i -X GET -H "Content-Type: application/json" http://localhost:18080/accounts/65
❯ curl -i -X GET -H "Content-Type: application/json" http://localhost:18080/transfers/73
REFERENCES

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages