2011-12-12 12:27:45 +01:00
|
|
|
.. _http-module:
|
|
|
|
|
|
|
|
|
|
HTTP
|
|
|
|
|
====
|
|
|
|
|
|
2012-02-12 23:09:47 +01:00
|
|
|
Play2-mini
|
|
|
|
|
----------
|
2011-12-12 12:27:45 +01:00
|
|
|
|
2012-02-12 23:09:47 +01:00
|
|
|
The Akka team recommends the `Play2-mini <https://github.com/typesafehub/play2-mini>`_ framework when building RESTful
|
|
|
|
|
service applications that integrates with Akka. It provides a REST API on top of `Play2 <https://github.com/playframework/Play20/>`_.
|
2011-12-12 12:27:45 +01:00
|
|
|
|
2012-02-12 23:09:47 +01:00
|
|
|
Getting started
|
|
|
|
|
---------------
|
|
|
|
|
|
|
|
|
|
First you must make your application aware of play-mini.
|
|
|
|
|
In SBT you just have to add the following to your _libraryDependencies_::
|
|
|
|
|
|
2012-03-06 13:20:00 +13:00
|
|
|
libraryDependencies += "com.typesafe" %% "play-mini" % "<version-number>"
|