Use firebase cloud function to send POST request to non-google server

前端 未结 5 818
迷失自我
迷失自我 2020-11-27 03:52

I was wondering if its possible to use a firebase cloud function to send a post request to a non-google server (from what I can find I need to be on the blaze plan in order

5条回答
  •  醉话见心
    2020-11-27 04:28

    axios is also one of the great library to handle network calls. Some features:

    • Make XMLHttpRequests from the browser
    • Make http requests from node.js
    • Supports the Promise API
    • Intercept request and response
    • Transform request and response data
    • Cancel requests
    • Automatic transforms for JSON data
    • Client side support for protecting against XSRF
    • 67k+ stars on github
    • github documentation for more

提交回复
热议问题