An example application integrating Polysemy with Servant.
Have a PostgreSQL blogpot
database running on your machine.
Fetch all blogposts.
You can pass id
query parameter to fetch only one blogpost.
Add a new blogpost to the database.
Body should be JSON with "blogpostName"
and "blogpostBody"
string fields.
Delete a blogpost with the given id. Body should be JSON string with the id.
Check if the server is running.