Slide 10
Slide 10 text
HTTP ϦΫΤετϋϯυϦϯά
case class UserData(name: String, age: Int)
val userForm = Form(
mapping(
"name" -> nonEmptyText,
"age" -> number(min = 0, max = 100)
)(UserData.apply)(UserData.unapply)
)
● ύϥϝʔλʔͷܕ߹ΘͤίϯύΠϧνΣοΫ
● content-type ʹΑΔϋϯυϦϯάରԠ
● application/x-www-form-urlencoded
● application/json