- 专利标题: Systems and methods of rate limiting for a representational state transfer (REST) application programming interface (API)
-
申请号: US15906917申请日: 2018-02-27
-
公开(公告)号: US10542124B2公开(公告)日: 2020-01-21
- 发明人: Pankaj Puniani , Bryan Mather Barnard , Silas A. Smith , Matthew Stoddart
- 申请人: ServiceNow, Inc.
- 申请人地址: US CA Santa Clara
- 专利权人: ServiceNow, Inc.
- 当前专利权人: ServiceNow, Inc.
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Fletcher Yoder PC
- 主分类号: H04L29/06
- IPC分类号: H04L29/06 ; H04L29/08 ; G06F9/54
摘要:
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.
公开/授权文献
信息查询