PLEASE Read the following link before start coding:
https://github.com/NetflixMicroservices/caveats
A very simple GoT quotes service example in Python, using Flask.
Numeric id in the request.
GET /api/quote/<quoteid>
JSON response.
{
"quote" : "Hodor!"
}
GET /api/quote/random
JSON response.
{
"quote" : "Hodor!"
}
GET /api/quote/random
JSON response.
{
"quote" : "Hodor!"
}
Used for Prana and Netflix OSS.
GET /healthcheck
JSON response.
{
'status': 'ok'
}
Used for Prana and Netflix OSS.
GET /Status
Text response.
Eureka!