Third-party need to send Data to Salesforce using Https post request - They cant handle token access so it must be a force.com site.
I referred an Apex class to the site (Without using VF page), by taking the URL of the site and add the /services/apexrest/< nameOfTheClass >.
I want to know -
I there a way to get from Apex (not JS) the URL of the third-party who tried to get the service?
I need this URL because they cant supply an IP, and they want us to handle the access by the source domain from the URL...
What are the disadvantages of using a URL instead of an IP address?