[2.0-scala] HTML Form Helper: GET or POST?

672 views
Skip to first unread message

Oliver Ruebenacker

unread,
Oct 25, 2012, 3:05:14 PM10/25/12
to play-fr...@googlegroups.com
Hello,

From the tutorial
(http://www.playframework.org/documentation/2.0.4/ScalaFormHelpers):

@helper.form(action = routes.Application.submit) {

}

Is this POST or GET or can it be either and how will it be decided?

Thanks!

Take care
Oliver

--
Scientific Developer at PanGenX (http://www.pangenx.com)

"Stagnation and the search for truth are always opposites." - Nadezhda
Tolokonnikova

Julien Richard-Foy

unread,
Oct 25, 2012, 4:20:35 PM10/25/12
to play-fr...@googlegroups.com
The route definition is used to determine if it refers to a GET or a
POST action.
Reply all
Reply to author
Forward
0 new messages