return 405 if method not allow
add dist