informativly / informativly-fastapi

0 stars 0 forks source link

Add a bar endpoint to the FastAPI application #4

Open informativly opened 4 weeks ago

informativly commented 4 weeks ago

Description

We need to add a new endpoint /bar to the FastAPI application. This endpoint should return a JSON object with a key message and a value This is a message from the bar endpoint.

Acceptance Criteria

Files to be Modified

Example Response

{
  "message": "This is a message from the bar endpoint"
}
informativly commented 4 weeks ago

the response value should be: foo is my enemy

informativly commented 4 weeks ago

the response value should be: foo is my friend

informativly commented 4 weeks ago

the response value should be: foo is not my friend

informativly commented 4 weeks ago

Actually it should be: foo is my friend