1
Answer

Get IP of website from which our API is called

Midhun T P

Midhun T P

8y
204
1
I have an Web API. I am calling that api in another website and retrieving data. So in my Web API, is there any way to get the ip of that website from which my API is called? I dont't want the IP of users who are browsing that website. I just need to get the IP of that website. 
Answers (1)
0
Nitin Sontakke

Nitin Sontakke

NA 11.7k 2.2k 8y
I am sure you should be getting access to Request object. It should have all standard information about the caller data.