Implement two endpoints in your CSV database web service: /cheep and /cheeps.
Sending a JSON object, e.g., of the form {"Author":"ropf","Message":"Hello, World!", "Timestamp": 1684229348} as the body of an HTTP POST request to the /cheep endpoint shall store the cheep in the remote database.
An HTTP GET request to the /cheeps endpoint shall return all cheeps that are stored in the CSV database as a list of JSON objects.
Implement two endpoints in your CSV database web service: /cheep and /cheeps.
Sending a JSON object, e.g., of the form {"Author":"ropf","Message":"Hello, World!", "Timestamp": 1684229348} as the body of an HTTP POST request to the /cheep endpoint shall store the cheep in the remote database.
An HTTP GET request to the /cheeps endpoint shall return all cheeps that are stored in the CSV database as a list of JSON objects.