670. Every application under either of the two preceding sections shall be made by petition in the way of summary procedure; and every party who is sought to be affected by the order must be named a respondent in the petition. Any such application may be made by a plaintiff after service of summons, or by a defendant after he has appeared in the action. *Application herein to be made by way of summary procedure.*