HTTPS Module NodeJS - AWS Lambda Function External API Request - Return JSON Object

I want to preface, I'm new to JS in general and learning as I go. Ultimately, I'm just trying to make this work for my website as middle ware. I'm 4 days in and here is where I'm at with this.

Goal: Click a button on my site (Wordpress) that hits the AWS API Gateway (works), then return the output from the API call to an external site (This was done due to CORS).

Current Status: HTTPS Client response and I cannot find how to return the object returned from the external API.

Code examples or actual answers would be appreciated.

const https = require('https');

exports.handler = function (event, context, callback) {


    if (event.summoner === undefined) {
        callback("400 Invalid Input");
    } else {

        var userParam = {};
        userParam.summoner = String(event.summoner);

        const api_url = 'https://na.whatismymmr.com/api/v1/summoner?name=';
        var jsonResponse = api_url + userParam.summoner;

        const req = https.request(jsonResponse, (res) => {
            const { statusCode } = res;
            const contentType = res.headers['content-type'];

            let error;
            // Any 2xx status code signals a successful response but
            // here we're only checking for 200.
            if (statusCode !== 200) {
                error = new Error('Request Failed.\n' +
                    `Status Code: ${statusCode}`);
            } else if (!/^application\/json/.test(contentType)) {
                error = new Error('Invalid content-type.\n' +
                    `Expected application/json but received ${contentType}`);
            }
            if (error) {
                console.error(error.message);
                // Consume response data to free up memory
                res.resume();
                return;
            }

            res.setEncoding('utf8');
            let rawData = '';
            res.on('data', (chunk) => { rawData += chunk; });
            res.on('end', () => {
                try {
                    const parsedData = JSON.parse(rawData);
                    console.log(parsedData);
                } catch (e) {
                    console.error(e.message);
                }
            });
        }).on('error', (e) => {
            console.error(`Got error: ${e.message}`);
        });

        req.end();

        callback(null, req);

    }

};