Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

99
Views
Passing arguments to google cloud functions

I have a function I deployed to the cloud which looks like this.. im trying to pass arguments from a node js app trigger the function but im not sure how to go about it. Any help or advice would be appreciated.

exports.discordFeedback = (req,res)=>{

const { MessageEmbed, WebhookClient, ModalSubmitInteraction, Collector } = require('discord.js');

var webhookId = "**********";
var webhookToken = "***********";
var version = "***" ;
var color; 

let store = req.query.store || "Error...";
let itemName = req.query.item_name || "Unknown Error...";
let itemPrice = req.query.item_price || "$???.??";
let botMode = req.query.bot_mode || "Unknown...";
let itemImageUrl = req.query.image_url || "https://mir-s3-cdn-cf.behance.net/project_modules/1400/9aca1078350973.5ca28ba956e23.jpg";
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!