How to pass Client IP Adress in CURL

A

Anonymous

Guest
Hi Guys - When I am calling Curl, it is taking server's ip address instead of client. Can you please help me with the correct way to get the client ip address in Curl
 
Please explain:
1. What is the client? (is it your PC?)
2. Have you access to the client and server?
3. How are you reading the IP?

You have to send the IP as a additional entry in the header such as X-Forwarded-For or Client-IP or read it on the server. You can't override the IP
 
Back
Top