Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Input.fieldNames

Input.fieldNames($method) -> list

Description

Get the names of all fields in the request.

$method can be get or post.

// Post data:
//   userId = 1234, age = 33

fun mainPost {

    Input.fieldNames('post')
    //= ['userId', 'age']
}

See Also