Skip to content

DenisGladkiy/blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlackJack REST service

BlackJack API:

Objects:

  • User:
  • Table:
  • Urls:
    • URL: /account Type: PUT BODY: JSON

      {"nickName": "your_nickname",
       "login": "your_login",
       "password": "pass"}
      

      Effect: Create new user with start balance $10_000 in database RESPONSE: JSON

       {"status": 0,     
       "message": "status message"}
      
    • URL: /account/{nickName} Type: GET BODY: NONE Effect: User info like login, nickname, balance RESPONSE: JSON

      {"nickName": "your_nickname",
       "login": "your_login",
       "balance": 10000}
      
    • URL: /account/{nickName} Type: DELETE BODY: NONE Effect: Delete user from database RESPONSE: JSON

       {"status": 0,     
       "message": "status message"}

About

BlackJack REST service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages