I am running a mobile app which depend on JSON request.
The problem, there are some users could access the API directly without using the app. I would like to know how to prevent it? So, I want to limit that the API should only accept connection from app.