re: Designing a better architecture for a Node.js API VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thank you for your suggestion, I am going to add that.
 

Hi can you help me test the API using insomia.
What would be my URL for POST?

Thanks in advance!

Hi Norbin,

You can test the app sending a post request to localhost:5000/api/post

Yes done i've already did that, I also tried localhost:5000/api/getAll.

Im getting error below.

Cannot POST /api/post
Cannot GET /api/getAll

code of conduct - report abuse