made request type dynamically featched