An API has a rate limit based upon the number of hits from a certain IP address.
My requests are AJAX - so they're performed by a javascript living somewhere on a page.
Does the IP being rate limited appear as the client's or the site's?
An API has a rate limit based upon the number of hits from a certain IP address.
My requests are AJAX - so they're performed by a javascript living somewhere on a page.
Does the IP being rate limited appear as the client's or the site's?
Since javascript is executed client side (aka in the browser) the request will show the client's IP (or any proxy).
The IP address the service provider can see would be the client (web browser) address.
But this is not necessarily what is being used for limiting. That could also be done by the API key or user account. Check your service agreements.