The application shall be in writing, signed by the applicant, and under oath, and shall state the place where the person is supposed to be imprisoned or restrained of his liberty, and by whom; and a copy of the warrant or precept, if any, under which he is confined shall be annexed to the application.
RSA 534:4
RS 202:4. CS 215:4. GS 224:4. GL 243:4. PS 239:4. PL 350 :4. RL 406:4.