Search⌘ K

Challenge: Create a View to Display the HTTP Request Method

Explore how to build a view in AdonisJs that dynamically shows the HTTP request method. This lesson guides you through creating a controller method, rendering the view with Edge templating, and setting up the route to display the output. Gain practical experience working with views and controllers in AdonisJs.

Problem statement

Create a view that displays the HTTP request method, and use a controller method to render the view.

Expected output

Your

...