Fixes #2 by matching routes for both get and post