Reputation: 11
I am gonna have an open source app in which it needs to send some data to an fastapi python api, how can i make it so that only the app can make requests to the api and not some random person abusing the api endpoint?
Upvotes: 1
Views: 971
Reputation: 1974
There are so many ways to do that. Even some of the techniques doesn't bother the API endpoint.
The IP method is much better than doing on the application end.
Upvotes: 1