|
|
|
|
|
by boolemancer
578 days ago
|
|
If an endpoint costs a lot to run, implement rate limits and return 429 status codes so callers know that they're calling too often. That endpoint will be expensive regardless of whether it's your own app or a third party that's calling it too often, so design it with that in mind. Your app isn't special, it's just another client. Treat it that way. |
|
If you could ensure that the web server can only be accessed by your client, you would do that, but there is no way to do this that can't be reverse-engineered.
Essentially your argument is that just because a door is open that means you're allowed to enter inside, and I don't believe that makes any sense.