function transformGETRequest(requestIndex, request, httpConfig) {
        var paramSerializer;

        httpConfig.data.batch[requestIndex] = {
            method: request.method,
            url: request.url,
            headers: request.headers,
        };
    }
/**
     * Transforms a GET request to the format expected by batch-request and attaches it to
     * the httpConfig Object.
     *
     * @param requestIndex (Integer) - the index of the request in the pool of requests
     * @param request (Object) - the Angular $http config Object for the request
     * @param httpConfig (Object) - the Angular $http config Object for the batched request
     */
Transforms a GET request to the format expected by batch-request and attaches it to
the httpConfig Object.

@param requestIndex (Integer) - the index of the request in the pool of requests
@param request (Object) - the Angular $http config Object for the request
@param httpConfig (Object) - the Angular $http config Object for the batched request
Transforms a GET request to the format expected by batch - request and attaches it to the httpConfig Object . @param requestIndex ( Integer ) - the index of the request in the pool of requests @param request ( Object ) - the Angular $http config Object for the request @param httpConfig ( Object ) - the Angular $http config Object for the batched request
function transformGETRequest(requestIndex, request, httpConfig) {
        var paramSerializer;
        httpConfig.data.batch[requestIndex] = {
            method: request.method,
            url: request.url,
            headers: request.headers,
        };
    }
function transformGETRequest ( requestIndex , request , httpConfig ) { var paramSerializer ; httpConfig . data . batch [ requestIndex ] = { method : request . method , url : request . url , headers : request . headers , } ; }
Transforms a GET request to the format expected by batch-request and attaches it to
 the httpConfig Object.
Transforms a GET request to the format expected by batch - request and attaches it to the httpConfig Object .