Skip to content

s57445560/apiauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

api认证

使用django作为示例


遵循restfulAPI,可以根据自己需求扩展
myapp\apiauth\auth.py  为api认证的装饰器
myapp\apiauth\views.py 是api的处理

url为 http://127.0.0.1:8000/api/host_ip/


myapp\client\api_request.py  客户端的示例 如何发送请求。

About

django的api认证

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages