removed return type from postResource().