Skip to content

请问一下AllowedReferrer和ORIGIN的用途是啥啊 #2

Answered by BANKA2017
Ecalose asked this question in Q&A
Discussion options

You must be logged in to vote
  • 都不是必填项,前者是填允许使用这个api的网站,比如 a.com|b.com ,后者是 Access-Control-Allow-Origin 响应头的值
  • 直接部署要传参数才会有返回,否则就是默认的错误消息

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Ecalose
Comment options

@BANKA2017
Comment options

@Ecalose
Comment options

Answer selected by Ecalose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants