Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flask-http-response, version 0.0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size flask_http_response-0.0.1.0-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size flask_http_response-0.0.1.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page