I'm dealing with Flight Search API for my clients. I want to restrict some client requests from some IP Address who didn't registered with me. All the IP Addresses of my clients I will save them in a DB.
Now a user sent me a RAW HTTP POST jSON data to my server.
How do i get the IP address of that client who sent me a RAW HTTP POST JSON Data ?
Is it possible in cURL ? or give me some suggestions.
Thanks in advance.