Add RewriteAll() method and Migration resource
removed return type from postResource().