Menu

Tag: microservices

HowTo

EMACS REST Client for Python Web API Testing

In previous posts, I covered writing a Python REST API.  In this article, we will test our API from within EMACS!  We are going to install an EMACS rest client to do our testing.  This will cut down your development time because you can do everything from one IDE (EMACS) and not have to switch […]

HowTo

Using JSON POST data with Python Microservice

In this post we will build on our webservice that we made in my last series Python Rest API Example by adding the ability to pass JSON data to a HTTP POST. Add Book Handler We need to add some code to our Add Handler so that we can deal with json.  Here is the updated code: […]

HowTo

Python Rest API Example – Part 3

With the transition to microservices, it becomes necessary to know how to write simple Rest API’s using Python.  In this post, I give a python rest API example using Tornado.  This is the third part of the post were we will code the API endpoints. Our Python Rest API Example Code As stated earlier, this […]

HowTo

Python Rest API Example – Part 2

With the transition to microservices, it becomes necessary to know how to write simple Rest API’s using Python.  In this post, I give a python rest API example using Tornado.  This is second part of the post were we will code the API. Our Python Rest API Example Code Lets get right into it.  Here […]

HowTo

Python Rest API Example

With the transition to microservices, it becomes necessary to know how to write simple Rest API’s using Python.  In this post, I give a python rest API example using Tornado.  This is the first post in the series where we will design the microservice and code the sample class that the microservice will manage. Design […]