Category: REST

2018-05-08T20:47:45Z

The Flask Mega-Tutorial Part XXIII: Application Programming Interfaces (APIs)

This is the twenty third and last installment of the Flask Mega-Tutorial series, in which I'm going to tell you how to extend microblog with an application programming interface (or API) that clients can use to work with the application in a more direct way than the traditional web browser workflow.

30 comments

2015-04-12T15:41:11Z

My PyCon 2015 Sessions

In this short blog post I want to share the two presentations I gave at PyCon 2015, which are now available to watch on YouTube.

21 comments

2013-11-28T07:33:19Z

RESTful Authentication with Flask

This article is the fourth in my series on RESTful APIs. Today I will be showing you a simple, yet secure way to protect a Flask based API with password or token based authentication.

188 comments

2013-07-28T19:11:38Z

Designing a RESTful API using Flask-RESTful

This is the third article in which I explore different aspects of writing RESTful APIs using the Flask microframework. Here is the first, and the second.

The example RESTful server I wrote before used only Flask as a dependency. Today I will show you how to write the same server using Flask-RESTful, a Flask extension that simplifies the creation of APIs.

178 comments

2013-06-15T20:12:57Z

Writing a Javascript REST client

Last month I published an article on writing RESTful web services in Python, in which I developed a small web service.

Today I'm putting my "front-end" hat to show you how to write a Javascript client application that uses the Python service.

111 comments

2013-05-20T07:12:40Z

Designing a RESTful API with Python and Flask

In recent years REST (REpresentational State Transfer) has emerged as the standard architectural design for web services and web APIs.

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

223 comments