create post route

Either put spaced after `if` or delete the one on line 43.