Invention Grant
- Patent Title: Systems and methods of rate limiting for a representational state transfer (REST) application programming interface (API)
-
Application No.: US15906917Application Date: 2018-02-27
-
Publication No.: US10542124B2Publication Date: 2020-01-21
- Inventor: Pankaj Puniani , Bryan Mather Barnard , Silas A. Smith , Matthew Stoddart
- Applicant: ServiceNow, Inc.
- Applicant Address: US CA Santa Clara
- Assignee: ServiceNow, Inc.
- Current Assignee: ServiceNow, Inc.
- Current Assignee Address: US CA Santa Clara
- Agency: Fletcher Yoder PC
- Main IPC: H04L29/06
- IPC: H04L29/06 ; H04L29/08 ; G06F9/54

Abstract:
The present disclosure relates to systems and methods of implementing rate limiting in a representational state transfer (REST) application programming interface (API) system. A method of operating an instance of a REST API server, includes: receiving a REST API request that matches a rate limit rule associated with the instance of the REST API server; preparing a REST API response that includes rate limiting response headers. The method includes determining whether a rate limit violation exists that corresponds to the rate limit rule and, when it does, adding an error message to the REST API response. Otherwise, the REST API request is fulfilled and corresponding data is added to the REST API response. The method includes sending the REST API response including the rate limiting response headers and either the error message or the corresponding data.
Public/Granted literature
Information query