How to handle HTTP methods in Express router? | MERN Stack | Server side Architecture | JSUniv

preview_player
Показать описание
Follow us

Routing refers to how an application’s endpoints (URIs) respond to client requests.

A route method is derived from one of the HTTP methods, and is attached to an instance of the express class.

You can provide multiple callback functions that behave like middleware to handle a request.

You can use this mechanism to impose pre-conditions on a route, then pass control to subsequent routes if there’s no reason to proceed with the current route.

To get more about JavaScript preparations
Рекомендации по теме
Комментарии
Автор

Finally a channel that focus on how things work instead of throwing code. Thanks!

sirruben
Автор

Great content only issue is your mic isn’t very clear.

Bertie
join shbcf.ru