No project description provided
Project description
Flask http response
A Flask http custom response
Description
This is a flask http custom reponse made by flask jsonify module.
Dependencies
Flask
Uses
Install it by runing
pip install flask-http-response
Import into your project
from flask_http_response import success, result, error
Use it in your http response
return success.return_response(message='Successfully Completed', status=200)
If you use any type of response without passing parameter into it. No problem it will always return a default message. For result.return_response()
you can pass data or object as a message into it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for flask_http_response-0.0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6351fdcfabde8dd0b9998e39eda21b54165a3fb39f672e5d51761a56fac61463 |
|
MD5 | f593e0a26d80f049452087b47f6a9340 |
|
BLAKE2b-256 | 45cde3c5b5cc9e1473945ccbdd63a75a1f22007ea25ca8932092fd6954361bc3 |
Close
Hashes for flask_http_response-0.0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9172d11715c764f8834aef1086d0321d8559d2747aeb52be67db8af19957032f |
|
MD5 | 49ca852ccf73d4a4b2b39c2c287b95b5 |
|
BLAKE2b-256 | 32a4ce8d7f22ebd469a2b858bdffae32e1002870eecda8609f0006e2b6e45008 |