Recently, I have written a few pieces on REST API development. We have discussed the Fundamentals of REST APIs, Built a Simple REST API, Secured it with HTTP Basic Authentication and JSON Web Tokens. However, the example codes were all based on Flask. I chose Flask for those examples because the framework was minimal in it’s
Author: masnun
JWT Authentication with Python and Flask
In our blog post about HTTP Authentication, we promised we would next cover JSON Web Tokens aka JWT based authentication. So we wrote a detailed blog post on The Concepts of JWT explaining how the technology works behind the scene. And in this blog post, we would see how we can actually implement it in our
Understanding JWT (JSON Web Tokens)
In the end of our last post (which was about Securing REST APIs) we mentioned about JWT. I made a promise that in the next post, we would discuss more about JWT and how we can secure our REST APIs using it. However, when I started drafting the post and writing the code, I realized
Securing REST APIs: Basic HTTP Authentication with Python / Flask
In our last tutorial on REST API Best Practices, we designed and implemented a very simple RESTful mailing list API. However our API (and the data) was open to public, anyone could read / add / delete subscribers from our mailing list. In serious projects, we definitely do not want that to happen. In this
Continue reading Securing REST APIs: Basic HTTP Authentication with Python / Flask
Golang / The Go Programming Language
The Go Programming language (often written as golang) has become quite popular recently. Google is actively backing the project but Golang has seen usage, contribution and success stories from many other popular brands and enterprises across the internet. Go promises a very simple, easy to learn syntax that allows us to build robust, reliable, efficient software. Once
REST API Best Practices: Python & Flask Tutorial
In our last post about REST APIs, we have learned the basics of how REST APIs function. In this post, we would see how we can develop our own REST APIs. We would use Python and Flask for that. If you are new to Python, we have you covered with our Python: Learning Resources and Guidelines post. Python /
Continue reading REST API Best Practices: Python & Flask Tutorial
REST APIs: The concepts and applications
If you are into web programming you might have come across the terms “REST API” or “RESTful” and you might have felt curious as to what they really are. In this post, we shall take our time to go through some of the concepts / ideas behind REST and it’s applications. The REST-less Developer You
Python: Learning Resources and Guidelines
The Python programming language is rapidly gaining popularity in all directions. Universities are teaching programming with Python. Jobs for the language is also on the rise. It has so many use cases – web development, data science, machine learning, command line tools, security research, desktop applications and what not. Because of it’s massive popularity, mastery of the
Hello Polyglot Ninja!
If you’re like me, a programming / coding enthusiast, you would probably also start an introductory blog post with a “Hello World!” just like this one: print(“Hello World!”) So who am I? I am nobody significant, at least not yet. But I have big dreams. I learned programming out of passion. I started professionally with