Bug fix: allowing GET and POST methods