request獲取參數(shù)的各種方式
Attribute | GET | POST | File |
---|---|---|---|
BaseRequest.query | Y | × | × |
BaseRequest.forms | × | Y | × |
BaseRequest.params | Y | Y | × |
BaseRequest.files | × | × | Y |
BaseRequest.GET | Y | × | × |
BaseRequest.POST | × | Y | Y |
request獲取參數(shù)的各種方式
Attribute | GET | POST | File |
---|---|---|---|
BaseRequest.query | Y | × | × |
BaseRequest.forms | × | Y | × |
BaseRequest.params | Y | Y | × |
BaseRequest.files | × | × | Y |
BaseRequest.GET | Y | × | × |
BaseRequest.POST | × | Y | Y |