...

/

Solution: Create a View to Display the HTTP Request Method

Solution: Create a View to Display the HTTP Request Method

Go over the solution implementing a view to display the HTTP request method.

We'll cover the following...

Solution

The following is the complete implementation of the problem described ...

'use strict'

class TestController {
  //Extracting the view class of the HTTP context
  myview({ view }) {
    return view.render('myview')
  }
}

module.exports = TestController

Press Run and wait for the ...