send requested key into middleware