Pragmatic post parameter handling in start
25 Feb 2014
Start is a Sinatra inspired web framework for Dart. Up to version 0.2.0 Start provided no pragmatic post parameter handling. With issue 49 I proposed a
getPostParams method for the
That is how my proposal looked like:
This proposal has made it to Start version 0.2.1 with following commit. So with Start version 0.2.1 you can do now the following pragmatic form of post request parameter handling.
Thanks to Yehor Lvivski for providing the Sinatra inspired Start web framework and for integrating issue 49. It makes post parameter handling with Start more pragmatic.
Since Start version 0.2.2 you should use
payload(). By using
payload you can also handle parameters provided via POST, PUT, DELETE in request body. Above mentioned parameter handling changes to: