d.
			</p>
<pre><code>def insert(folderId: Long) = SecuredApiActionWithBody { implicit request =>
  readFromRequest[Task] { task =>
    Task.insert(folderId, task.text, new Date(), task.deadline).flatMap {
      case (id, newTask) => created(newTask)
    }
  }
}</pre></code>
			<p>
				It would return the new created task within the body response. But if you would like to return an empty body you may want to add a <code>Location</code> header with the created URI:
			</p>
<pre><code>created(Api.locationHead