method not allowed response working