migrated from spray to scalatra
tested api