# Action Controller

## Test Case Behavior

实例方法：

```
get
post
patch
put
delete
head

xhr & xml_http_request

process
```

> Rails 5 新增 xhr 虽然是语法糖，但用起来很舒心，不是吗？

## Live Test Response

```
success? & successful?
missing? & not_found?
error? & server_error?
```
