Skip to content

现在的form只能支持GET与POST,可否通过隐藏input 来支持PUT\DELETE #1148

Description

@enzozhong

nutz支持REST,可是只能js来实现,原生的form只能GET\POST,不知道是否可以约定一下添加
<input name="__method" value="DELETE" />
然后再路由上到达@delete方法呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions