To fix this problem, what I did was return a redirect method to the same route, to have a "GET" method in the "/" index instead of "POST" after submitting. Cheers to Random Cosmos in the comments.