c# - Find out from which url your API called -
this question has answer here:
- get url of referer page in asp.net 1 answer
i'm using web api.my question is: have check call coming in global.asax(application_acquirerequeststate) because have restrict calls coming unknown urls purpose of web api security.
you can use request.userhostaddress
ip address call coming , request.urlreferrer
url linked current url.
Comments
Post a Comment