Checking POST and GET with routing