What will happen If i limit Restful api |
We can limit request in Restful api example for 200 connection
But i could understood that after 200 connection,what will happen if my app connection be above 200 connection?
Then it should throw an error. Also after a certain amount of time it should reset.
SEE: A simple RESTful API implementation using PHP and CodeIgniter What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(10-04-2017, 02:05 AM)InsiteFX Wrote: Then it should throw an error. Also after a certain amount of time it should reset. Ohom Why restful api have limitation?
I would recommend doing a Google search on Restful advantages and disadvantages.
There are to many to state and go through here. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
On projects i'm using the solutiuon below, it allows you to response in varius types and you control on how or what you are sending. Also limit requests available and API keys.
CodeIgniter 3.x - RESTful-server - Content-types response - Multi language support
I can't seem to find this information anywhere, but it seems that it imposes a limit of 25 records to be returned from a list view results call to the REST API.
(10-05-2017, 10:58 PM)superior Wrote: On projects i'm using the solutiuon below, it allows you to response in varius types and you control on how or what you are sending. Also limit requests available and API keys. I'm sorry What is this code? $this->methods['user_post']['limit'] = 100; // 100 requests per hour per user/key $this->methods['user_delete']['limit'] = 50; // 50 requests per hour per user/key Is it limitation for each user or each key or each ip?
Specify the method used to limit the API calls.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Hey guys
What are they fields for restful table key? user_id key level ignore_limits is_private_key ip_addresses date_created
It looks to me to be an Auth Table for users.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |