The service controller ACTS as an entry point of the request and response framework.
服务控制器作为请求和响应框架的入口点。
Creating the controller method to make the remote JSON request.
创建用于发出远程JSON请求的控制器方法。
Add a closure to the Entry controller to handle the Atom request.
在Entry控制器中添加一个闭包,以处理Atom请求。
Sometimes, to test your controller, you need access to the raw request and response.
有时,要测试控制器,您需要访问原始的请求和响应。
To test the new controller, start the application and request the /Home/Index URL.
为了测试这个新的控制器,启动应用程序,并请求/Home/Index。
To test the new controller, start the application and request the /Home/Index URL.
为了测试这个新的控制器,启动应用程序,并请求/Home/Index。
应用推荐