API Connect

 View Only
Expand all | Collapse all

Looking for attribute which records X-RateLimit-Remaining to be accessible in my assembly code.

  • 1.  Looking for attribute which records X-RateLimit-Remaining to be accessible in my assembly code.

    Posted 21 days ago

    Hi Team,

    I am looking for context variable to be used in order to get X-RateLimit-Remaining value for my custom rate limit policy created in gateway using gateway extensions.

    I want to put a condition based on this value for my project requirement.

    Cannot use catch with RateLimitError in my case.



    ------------------------------
    Sadhana Guduru
    ------------------------------


  • 2.  RE: Looking for attribute which records X-RateLimit-Remaining to be accessible in my assembly code.

    Posted 7 days ago

    Hi Sadhuna,
    I don't believe this counter is made available for programmatic use.  This would require a request for enhancement.

    Best Regards,
    Steve



    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------