Changed query method to GET.