I was learning to create Rest APIs using express, and out of curiosity, I tried to delete or create data inside app.get() method, and it works perfectly fine. H
app.get()