set ressource from request ob