7-6 Use a method to submit the post