Get data fetch problem solved by removing ? sign from htaccess