Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问是否支持https协议 #3379

Open
BoxCode7 opened this issue May 11, 2021 · 3 comments
Open

请问是否支持https协议 #3379

BoxCode7 opened this issue May 11, 2021 · 3 comments

Comments

@BoxCode7
Copy link

请问是否支持https协议,因为在微信小程序开发过程中需要用到https的请求协议,目前我无法使用

@xxxman2008
Copy link

根据你问的问题,推荐你用 node-fetch 。。更适合你一点。
另外,你要的回答是 “支持”。

@pccai
Copy link

pccai commented Aug 23, 2021

http或者https能自动选择吗?不用每次都把2个都写上去:

const http = require('http')
const https = require("https");

@Y2zz
Copy link

Y2zz commented Oct 10, 2021

哈哈,题主真是一股清流

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants