Posts tagged with "REST"

Representational state transfer (REST) is an approach to the architecture of web services and the term was introduced by Roy Fielding in his doctoral thesis.

REST is a group of constraints that has a number of positive side effects when designing and writing web services, including performance, scalability, simplicity, modifiability, visibility, portability, and reliability.

The REST constraints are:

  • Client-server architecture
  • Statelessness
  • Cacheability
  • Layered system
  • Code on demand (optional)
  • Uniform interface

1 Post

Pytest fixtures with Flask

Recently I've been working on a web API with Flask, here's how I went about making unit tests with pytest work well with Flask and testing the API via requests.

Published on May 27th, 2018 by Janis Lesinskis.