Hello
I’m new to slim framework. I want know way to get domain name from api caller/user?
for example :
Api URL : abc.com/api
Methods : POST
Allowed url to access this api :
I want to block all domain access to my api except allowed url.
I had read about
Header add Access-Control-Allow-Origin “* or domain.com” , but it seems only for one domain or all domain CMIIW.
thanks