Change to post method to fetch data