Skip to content
 
 

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Sample REST (REpresentational State Transfer) webservice , how we can use it in python Flask

In this example I'm going to show you how easy it is to create a RESTful web service using Python 2.7 and Flask 0.10.1 microframework.

Let's say we want to write a web service to display List of items/ latops and we want to design a web service for it. The first thing to do is to decide what is the root URL to access this service. For example, we could expose this service as:

http://127.0.0.1/latops/

http://127.0.0.1/latops/2

You can access this web service via - *. command line *. Browser *. Curl command - It is recommended to test the web service by using curl command *. Browser add-in - It is recommended to test the web service by using curl command *. Using any third party web service testing tools for validating the web services

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages