英文:
When I call my API on postman and pass the data it display response 429 too many requests
问题
我创建了一个博客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
尝试在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',
]
];
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论