commit 7-6 - Use a method to submit posts