Cloud Functions for Firebase - getaddrinfo ENOTFOUND

前端 未结 4 1418

Trying to make a request to Paypal\'s API using PayPal-node-SDK

exports.requestPayment = functions.https.onRequest((req, res) => {
    return new Promise(         


        
4条回答
  •  梦如初夏
    2020-11-22 07:18

    You'll need to be on a paid plan to make external API requests.

    Firebase's Blaze plan (pay as you go) has a free allotment for Cloud Functions. https://firebase.google.com/pricing/

提交回复
热议问题