项目
在 GitHub 查看
miguelgrinberg/REST-tutorial
关于
我的 REST API 教程配套文件,包含使用 Python 编写的服务器和使用 JavaScript 编写的 Web 客户端。
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文REST-tutorial
Files for my REST API tutorials featuring a server written in Python and a web client written in Javascript. Here are the articles:
- Designing a RESTful API with Python and Flask
- Writing a Javascript REST client
- Designing a RESTful API using Flask-RESTful
Setup
- Install Python 3 and git.
- Run
setup.sh(Linux, OS X, Cygwin) orsetup.bat(Windows) - Run
./rest-server.pyto start the server (on Windows useflask\Scripts\python rest-server.pyinstead) - Alternatively, run
./rest-server-v2.pyto start the Flask-RESTful version of the server. - Open
http://localhost:5000/index.htmlon your web browser to run the client
探索相关项目
加载中…