Hi guys, I have two pages
-
www.example.com (frontend)
-
www.api-example.com (backend)
Do you know if it is possible restrict the calls to my backend. I mean all the request must come from www.example.com otherwise they must be denied. What i dont want is that someone with Insomia or Postman send reqeust to the api all the time.
I am using Django-Rest-framework and i will have the backend in pythonanywhere. What woudl like is that my page www.api-exampe.com cannot be accesible unless that be through www.example.com.
Do you know how to do in pythonanywhere?