code: func (h *Handler) readProtobufQueryRequest(r *http.Request) (*pilosa.QueryRequest, error) {
  	// Slurp the body.
  	body, err := ioutil.ReadAll(r.Body)
  	if err != nil {
  		return nil, errors.Wrap(err, "reading")
  	}
  
  	qreq := &pilosa.QueryRequest{}
  	err = h.api.Serializer.Unmarshal(body, qreq)
  	if err != nil {
  		return nil, errors.Wrap(err, "unmarshalling query request")
  	}
  	return qreq, nil
  }
docs: // readProtobufQueryRequest parses query parameters in protobuf from r.