Until now, I had a GET method that looked like the following:
GET
protected override async Task GetAll(QueryData query) {
What you need is:
public async Task Get() { var response = Request.CreateResponse(); response.Headers.Add("Lorem", "ipsum"); return base.ResponseMessage(response); }
I hope this answers your question.