call the fetch method of conn before use params method