Skip to content

yamingk/WebServcie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Deploy:
=======
Login to a linux host w/ python3.x installed

cd ~   // cd to your home dir
git clone https://github.com/kuangyaming/WebServcie
cd WebServcie
python3.5 -m venv venv
source venv/bin/activate
pip3 install Flask
python3.5 webService.py


Run:
====
log onto another terminal session on the same linux host
curl -i http://localhost:5000/Fib/api/v1.0/3
curl -i http://localhost:5000/Fib/api/v1.0/5
curl -i http://localhost:5000/Fib/api/v1.0/10

About

Support a REST GET Call

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages