You define routing using methods of the Express app object that correspond to HTTP methods; for example, app.get() to handle GET requests and app.post to handle POST requests.
get
post
put
delete
head
options
checkout
copy
lock
merge
mkactivity
mkcol
move
m-search
notify
patch
purge
report
search
subscribe
trace
unlock
unsubscribe