开发者

acceptverbs httpverbs.get?

What is the use of it???? acceptverbs(httpverbs.get) and explain about the httpverbs.开发者_StackOverflowpost too..

thanks


When applied to an action, it restricts the action to only requests made with that particular HTTP verb, i.e., GET or POST. Even if a different type of request than specified comes in that would match based on the name and signature, it won't match because the request type is not allowed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜