Challenge: Create a View to Display the HTTP Request Method

Use your knowledge of views, routes, and controllers to create a view that displays the HTTP request method.

Problem statement

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

Expected output

Get hands-on with 1400+ tech skills courses.