Add debug, derive http verb from the template