rails-api removes Rack::MethodOverride from the stack; use Rack::Runtime as a safer alternative