decode url and test routing
log the request method also