code: function buildRequests(validBidRequests, bidderRequest) {
    const bids = validBidRequests.map(requestsToBids);
    const bidObject = {'bids': bids};
    const pageInfo = getPageInfo();
  
    const payload = Object.assign(bidObject, pageInfo);
  
    if (bidderRequest && bidderRequest.gdprConsent) {
      payload.gdprConsent = {
        consentString: bidderRequest.gdprConsent.consentString,
        consentRequired: bidderRequest.gdprConsent.gdprApplies
      };
    }
  
    const payloadString = JSON.stringify(payload);
  
    return {
      method: 'POST',
      url: ENDPOINT,
      data: payloadString
    }
  }
docs: Make a server request from the list of BidRequests.
  
  @param {validBidRequests[]} - an array of bids
  @return ServerRequest Info describing the request to the server.