How could I limit-rate access per user in Rails API?
up vote
-1
down vote
favorite
I have a question: I'd like to limit access api per user.
Example: User A can make 20 API calls per 30 minutes And user B can make 100 API calls per 5 hour. like so... How could i do that in Rails?
ruby-on-rails ruby api
add a comment |
up vote
-1
down vote
favorite
I have a question: I'd like to limit access api per user.
Example: User A can make 20 API calls per 30 minutes And user B can make 100 API calls per 5 hour. like so... How could i do that in Rails?
ruby-on-rails ruby api
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I have a question: I'd like to limit access api per user.
Example: User A can make 20 API calls per 30 minutes And user B can make 100 API calls per 5 hour. like so... How could i do that in Rails?
ruby-on-rails ruby api
I have a question: I'd like to limit access api per user.
Example: User A can make 20 API calls per 30 minutes And user B can make 100 API calls per 5 hour. like so... How could i do that in Rails?
ruby-on-rails ruby api
ruby-on-rails ruby api
edited Nov 9 at 3:33
asked Nov 9 at 3:14
kevin
113
113
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53219338%2fhow-could-i-limit-rate-access-per-user-in-rails-api%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown