Closed subhojit777 closed 5 years ago
In MySql there is no good way to retrieve the inserted row - https://github.com/diesel-rs/diesel/issues/1011
Therefore, I have decided that /answers
POST is not going to return anything. The response will be 200 and an empty body, which means the answer has been successfully submitted.
Steps to reproduce:
/answers
POST and note the response/answers
POST