Changed any to get & post methods