Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 516 Bytes

API.md

File metadata and controls

29 lines (16 loc) · 516 Bytes

API ( proxy: articleyoung.cn:8888 )

prefix: /public

1. user

url

/login�

param

field comment require
username / true
password / true

return

field comment
errcode success:0, false: 999, return cookie

test

curl -H "Content-Type: application/json" -X POST  --data '{"username": "admin", "password": "123456"}'  articleyoung.cn:8888/public/login