Docker need to be installed
- Deploy service to host (or run it locally)
- Implement custom JSON schema, put it to /schemas directory (or use "example.json" for test)
- Execute GET {host:port}/example/users/666
- Obtain response: ""id": 666, "name": "John Wick", "email": "johnwick@gmail.com""
It's possible to share data between Flask request contexts via Redis cache if request have same key
- Execute POST {host:port}/cache/users with some json body: f.e., {"email": "rickastley@gmail.com"}
- Obtain response ""id": 123, "status": "ok""
- Execute GET {host:port}/cache/users/123
- Obtain response ""id": 123, "email": "rickastley@gmail.com""
So email
parameter value was shared between two unrelated Flask contexts