How to send a HTTP request from Google Cloud Functions (nodeJS)

后端 未结 5 1285
无人共我
无人共我 2020-12-29 06:33

This is probably a simple question but I\'m new to cloud functions/Node programming and haven\'t found the right documentation yet.

How do I write a Google cloud f

5条回答
  •  清酒与你
    2020-12-29 07:04

    The Request module uses callbacks. If you want to use JavaScript promises instead, the Axios module provides equivalent functionality.

提交回复
热议问题