w3irdrobot / express-routing-example

Example API built using Express routers
MIT License
106 stars 48 forks source link

Post Request #2

Open Stavtastic opened 3 years ago

Stavtastic commented 3 years ago

Hi, not so much of an issue, but I am trying to understand this method better.

How would post request be handled with this routing? Do they have their own files? or can the post be handled in the same file as the request? If so how?