I am trying to make a call to apples receipt verification server using Cloud Functions for Firebase. Any idea how to make an HTTP call?
相关问题
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- adding sha1 in firebase app fails with error
- firebase storage cors strange Behaviour
- Firebase security rules difference between get() a
- google-drive can't get push notifications
相关文章
- node连接远程oracle报错
- How can make folder with Firebase Cloud Functions
- @angular-cli install fails with deprecated request
- node.js modify file data stream?
- How to resolve hostname to an ip address in node j
- Transactionally writing files in Node.js
- Log to node console or debug during webpack build
- Firestore Update a document field Using Rest API
Keep in mind that your dependency footprint will affect deployment and cold-start times. Here's how I use
https.get()
andfunctions.config()
to ping other functions-backed endpoints. You can use the same approach when calling 3rd party services as well.Answer is copied from OP's edit in question
OP solved this using https://github.com/request/request
mostly using https://nodejs.org/api/https.html