Closed BrandyMello closed 4 years ago
POSTed successfully in Postman; saw in local server using the GET DELETEd successfully in Postman; saw in local server that the correct "no country with that id was found" error was thrown when attempting to GET after successful DELETE. Tested 3x Still throwing catch error on DELETE, but otherwise working.
wrapped id from the endpoint in parseInt and it is working now with the appropriate response
DELETE for the countries is working, but throwing the catch error. A new country can be POSTed and DELETEd from the database, so not sure what is being "caught".