If the appeal is dismissed, denied, or withdrawn, the filing fee will not be refunded to appellant. 3. To obtain a writ of habeas corpus, you must show the court that you are in custody in violation of the Constitution or laws of the United States.Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. Though subject to different rules, incarcerated people in both state or federal custody may petition for a federal writ of habeas corpus. What Is Habeas Corpus? It tests the legality of a detention or a restraint and the goal is to use it really almost i guess it's an emergency basis. In this lesson, students will explore the history and purpose of the Habeas Corpus clause in the Constitution. This is a habeas corpus action under 28 U.S.C. § 2254. The clause in the Constitution, which authorizes the suspension of the privilege of the writ of habeas corpus, is in the 9th section of the first article. The Great Writ has been on a declining trajectory for several decades.