Does building an API endpoint at PHP require header()?

后端 未结 0 1205
我寻月下人不归
我寻月下人不归 2020-12-16 10:29

Does it mandatory to always specify header when building an api endpoint at PHP?

e.g.

header("Access-Control-Allow-Origin: *");
header("         


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