Flask-RESTful Documentation Release 0.3.10never be used in a production environment! Now open up a new prompt to test out your API using curl $ curl http://127.0.0.1:5000/ {"hello": "world"} Resourceful Routing The main building block provided like this: $ curl http://localhost:5000/todo1 -d "data=Remember the milk" -X PUT {"todo1": "Remember the milk"} $ curl http://localhost:5000/todo1 {"todo1": "Remember the milk"} $ curl http://localhost:5000/todo2 http://localhost:5000/todo2 -d "data=Change my brakepads" -X PUT {"todo2": "Change my brakepads"} $ curl http://localhost:5000/todo2 {"todo2": "Change my brakepads"} Or from python if you have the requests library0 码力 | 42 页 | 84.60 KB | 1 年前3
Référence Debian v2.124V:1, I:14 1389 , , client FTP plein écran wget V:208, I:981 3681 HTTP et FTP téléchargement web curl V:185, I:620 517 , , , , axel V:0, I:3 224 , , accélérateur de téléchargement aria2 V:3, I:20 19810 码力 | 279 页 | 1.47 MB | 1 年前3
共 2 条
- 1













