COSC481W-2022Winter / capstone-hackmcx

capstone-hackmcx created by GitHub Classroom
0 stars 1 forks source link

fix: Fix Error Handling for the POST posts Endpoint #30

Closed 3dxp closed 2 years ago

3dxp commented 2 years ago

Update the POST posts endpoint to properly handle errors when title or imageUrl are not specified in the request body. Also add the location header to the response so the client knows where to get the post that was created.

29