+
Skip to content

forkcs/loans-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run

  • Clone the repo

  • Optional: create virtualenv

python3 -m venv venv
. venv/bin/activate
  • Install the app and requirements
python setup.py install
  • Run test server
main.py

The server is running on localhost:8080

API reference

POST /loans/
Request:

{
  "loan_id": "string",
  "name": "string"
}

Response:

201 CREATED

GET /loans/{id}/
Response:

{
  "loan_id": "string",
  "name": "string"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载