https://github.com/xwjie/flaskcodetemplate
python flask code template
https://github.com/xwjie/flaskcodetemplate
flask python
Last synced: about 2 months ago
JSON representation
python flask code template
- Host: GitHub
- URL: https://github.com/xwjie/flaskcodetemplate
- Owner: xwjie
- License: apache-2.0
- Created: 2018-07-27T11:36:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-29T04:16:03.000Z (almost 8 years ago)
- Last Synced: 2024-12-31T04:27:08.482Z (over 1 year ago)
- Topics: flask, python
- Language: HTML
- Size: 503 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FlaskCodeTemplate
python flask code template
# test
正确例子:
```
curl -i -X POST \
-H "Content-Type:application/json" \
-d \
'{
"name":"222"
}' \
'http://localhost:5000/invoke/w3/user'
```
异常例子:
```
curl -i -X POST \
-H "Content-Type:application/json" \
-d \
'{
"name":""
}' \
'http://localhost:5000/invoke/w3/user'
```