Next.js Discord

Discord Forum

DELETE

Unanswered
Brown bear posted this in #help-forum
Open in Discord
Brown bearOP
SUP GUYS,
Quick question. I was looking around for a quick cheat sheet on api routes.
I am just trying to perform some simple CRUD on my DB, I have a general get all function down because there is a lot of examples of GET requests, but now I am on to getting individual articles and the other CRUD elements around that. I cant seem to access the [id] I added in my directory nor can I tell the ideal pattern for a delete request. Could someone link me to a general cheet sheet on this?

0 Replies