I'm trying to execute the following query for anonymous users. But, its not getting any results. When login, its working fine. Any idea about this ?
/_api/search/query?QueryText='Category: "About School"'&QueryTemplatePropertiesUrl='spfile://webroot/queryparametertemplate.xml'
PS: I have added the QueryText and QueryTemplatePropertiesUrl in the queryparametertemplate.xml file.