【发布时间】:2013-10-06 12:32:24
【问题描述】:
我一直在使用 CORS 代理来处理 http 请求,这对我来说很好。最近我遇到了一个发送电子邮件的 API(通过 https 请求),它需要 http 基本身份验证。我想知道如何实现这一点。
这是我使用的代理服务器: https://github.com/gr2m/CORS-Proxy
并考虑到这一点 https://github.com/Rob--W/cors-anywhere 这个支持https,但没有基本身份验证。
【问题讨论】:
-
CORS Anywhere 确实支持基本授权,例如,请参阅 github.com/Rob--W/cors-anywhere/pull/8#issuecomment-52154338。
标签: javascript https proxy cors