Request Methods and Method Spoofing

Discover useful request methods and learn about method spoofing.

We'll cover the following

We can create routes to URLs in start/route.js. For each URL request, AdonisJs creates a request object with the global middleware. The global middleware that does all of this is called BodyParser and is installed by default and registered in start/kernel.js. When a user submits a form, each input field, the HTTP method, the user’s IP address, etc. can be read using this request object.

Get hands-on with 1400+ tech skills courses.