vendredi 28 avril 2017

Web api: Limits on the number of queries?

I have a web api which I want to open to public. But I want to limit it. Say we limit 100 queries per IP, per day. Is there a way to limit the number of request to my webapp based on their IPs? Is that possible? Is there a commonly known way of handling this issue?

Btw, I am using Java Spark as my web frame work. But I think this issue might be completely irrelevant to Spark, as they don't support this out of the box.




Aucun commentaire:

Enregistrer un commentaire