Skip to content

gmcalixto/restapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

restapi

REST API Example using Python and Flask

Based on example provided by: https://www.codementor.io/sagaragarwal94/building-a-basic-restful-api-in-python-58k02xsiq

Before execute this script please follow the setup instructions according to the link above. The script added to this repository includes GET, POST and DELETE HTTP methods using Python and Flask.

To execute this script you should export enviroments below:

export FLASK_APP=your flas script export FLASK_ENV=development or production

To run: flask --host=your hostname/ip --port:your target port

This is a good resource to provide REST api for purposes in a reduced scope.

About

REST API Example using Python and Flask

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors