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.

Source Distribution

flask_http_response-0.0.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

flask_http_response-0.0.1.0-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page