code: function(bids, bidRequest) {
      let consentData = bidRequest ? bidRequest.gdprConsent : null;
  
      return bids.map(bid => {
        return {
          method: 'POST',
          url: location.protocol + spec.ENDPOINT + bid.params.pubId,
          data: getRequestData(bid, consentData),
          bidRequest: bid
        }
      })
    }
docs: Make a server request from the list of BidRequests.
  
  @param {validBidRequests[]} - an array of bids
  @param bidderRequest
  @return ServerRequest Info describing the request to the server.