51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

当我在Postman上调用我的API并传递数据时,它显示响应429,表示请求过多。

英文:

When I call my API on postman and pass the data it display response 429 too many requests

问题 {#heading}

我创建了一个博客API,当我调用并传递数据运行API时,它显示429太多请求。

我正在尝试运行API,但它显示429太多请求,所以请给出可能的解决方案。
我无法理解这个问题。 英文:

I created blog API when I call and run the API with passing data Is says 429 too many requests

I am trying to run the API but it say 429 too many requests so give the possible solution on that.
i am unable to getting it so.

答案1 {#1}

得分: 1

尝试在app/Http/Kernel.php文件中更改throttle参数。

protected $middlewareGroups = [
    'api' => [
        'throttle:60,1',
        'bindings',
    ]
];

英文:

Try changing the throttle parameter in app/Http/Kernel.php.

protected $middlewareGroups = [
    'api' => [
        'throttle:60,1',
        'bindings',
    ]
];

赞(0)
未经允许不得转载:工具盒子 » 当我在Postman上调用我的API并传递数据时,它显示响应429,表示请求过多。