stefanprodan / WebApiThrottle

ASP.NET Web API rate limiter for IIS and Owin hosting
MIT License
1.28k stars 275 forks source link

how to use Endpoint throttling with difference HTTP Method (one with Querystring and another without querystring) but action name is same #140

Closed shajinAndroid closed 4 years ago

shajinAndroid commented 4 years ago

Hi stefan,

Currently, I have same Endpoint name but it has the different HTTP Method (one with Querystring and another without query string)

this is my Endpoint example: GET http://localhost:12345/api/stock?stockId=1 and POST http://localhost:12345/api/stock

How to rate limit for the GET request alone.