How can I ensure an HTTP request to backend is from the same frontend origin?

前端 未结 0 898
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-21 08:48

A frontend React component uses Javascript Fetch API to make a request to the backend API built on PHP. The frontend cannot use secret keys since they would be exposed in the bu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题