Until now, I had a GET method that looked like the following:
GET
protected override async Task GetAll(QueryData query) {
Simple solution is to write just this:
HttpContext.Current.Response.Headers.Add("MaxRecords", "1000");