Closed JoshHarrington closed 7 years ago
Unfortunately i can't see your code but are you sure you have a connection with the db. Case sensitivity can be a pain. Also I created my db in PSQL just to be sure.
@benfluleck Thanks for the info, I'll have another look into it soon.
Hi there, thanks for the tutorial!
Seems that I'm getting an incorrect response when using postman to update a todo or any action (apart from a GET on the /api).
I noticed this after following the tutorial through, so thought I must have messed up somewhere. To double-check I downloaded this repo and ran the app (after running the
sequelize db:migrate
command). Still seem to be getting the wrong response back, compared with what the tutorial suggests I should be getting back.Example:
GET http://127.0.0.1:8000/api/todos
(using Postman, no headers or auth set)Response:
Am I missing something here? Any help very welcome!