when I use firebase cloud functions to write a database trigger hook. In the hook, I need to GET the api of weixin(api.weixin.qq.com) with axios, but I got an error
getaddrinfo ENOTFOUND api.weixin.qq.com
I google the error and know it's about dns. But I need to configure if I can do like using axios. Or is there alteration? Please help me, thx