const functions = require(\'firebase-functions\');
exports.apiResponse = functions.https.onRequest((request, response) => {
const url = \"https://test-proj-heroku.her
You are trying to make a request to your Heroku server (a non-Google product) and it appears that you are on the free tier of Firebase. As the pricing page indicates, under the Cloud Functions portion section, free-tiers are only permitted to make Outbound Networking actions (such as the call to your Heroku server) to other Google services (such as Gmail, Google Drive, etc...)
If you want to make requests to your Heroku server, you'll need to upgrade to a paid Firebase tier.