• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What will happen If i limit Restful api

#1
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?
Reply

#2
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 )
Reply

#3
(10-04-2017, 02:05 AM)InsiteFX Wrote: 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

Ohom
Why restful api have limitation?
Reply

#4
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 )
Reply

#5
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
Reply

#6
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.
Reply

#7
(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.

CodeIgniter 3.x - RESTful-server
Content-types response
Multi language support

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?
Reply

#8
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 )
Reply

#9
Hey guys
What are they fields for restful table key?
user_id
key
level
ignore_limits
is_private_key
ip_addresses
date_created
Reply

#10
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 )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.