Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

API example based on Flask

NotificationsYou must be signed in to change notification settings

marselester/api-example-based-on-flask

Repository files navigation

This repository is used as example Flask project inAPI based on Flask post.

Consider Flask application frommessaging package as deployed onhttps://app.example.com. You can sign in there as usermarsel(password is123). WSGI application frommessaging_api moduleshould be assumed as deployed onhttps://api.example.com.

Install requirements and run gunicorn.

$pip install -r requirements.txt$gunicorn -b 127.0.0.1:5000 messaging:app$gunicorn -b 127.0.0.1:8000 messaging_api:app

Sign in onhttp://127.0.0.1:5000 and now you can try to makeauthenticated requests to APIhttp://127.0.0.1:8000/v3/messages/.

About

API example based on Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp