There is a web api and there is a site that sends requests to this api. Actually a question. Is it possible somehow on the api side to find out where the user came to the site that sent the request?

  • one
    Not. If the client doesn’t say anything about himself, you can find out perhaps ip. - vitidev
  • The site that makes the request on WebApi is yours? What is meant by "where did the user come from?" A country? IP? Third party site? - Dmitry
  • The site that makes the request for WebApi is mine. Where came from - url - Pavel
  • one
    from the frontend. on what backend nobody knows. In fact, this is just a piece of code to paste into any website. I have so far decided to take document.referrer and send it to the service. but I would still like to do inside the service - Pavel
  • one
    The traditional solution to the problem described in the question between the lines: client API keys. - D-side

0