腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(541)
视频
沙龙
1
回答
Method
not
alowed
Symfony
\
Component
\
HttpKernel
\
Exception
\
MethodNotAllowedHttpException
不支持
POST
方法
、
我正在尝试用Laravel做一门课程,我试图设置一个简单的CRUD
方法
,但我在创建时遇到了问题。我在Laravel中有一个错误,我不知道如何解决它,我试图清除路由缓存,但不起作用。我看了一些关于这个错误的答案,但我不确定它们是否匹配,因为我在web文件中使用
post
方法
。todos/{todo}' , 'TodosControler@show'); Rout
浏览 8
提问于2019-12-01
得票数 1
回答已采纳
3
回答
Laravel 5-如何处理
MethodNotAllowedHttpException
、
、
、
、
在Laravel 5+的哪里可以买到
MethodNotAllowedHttpException
? 在Laravel 4中,我能够在start/global.php中做到这一点。
浏览 1
提问于2015-05-16
得票数 13
回答已采纳
3
回答
此路由
不支持
POST
方法
。支持的
方法
: PUT、修补、删除
、
、
、
它不能显示这个 <form class="form-ad" action="{{ route('jobs.store') }}"
method
=&quo
浏览 0
提问于2019-04-12
得票数 2
回答已采纳
1
回答
用Laravel发送基本邮件
、
、
查看: <input class="big_search" name="email" type="text" placeholder; }电子邮件视图,查看/电子邮件/验证.blde.php:Stacktrace/ Error: #13
Sym
浏览 0
提问于2015-01-31
得票数 0
回答已采纳
1
回答
是否可以在methodNotAllowed上用laravel创建自定义响应?
、
、
、
、
Test'});{ "data": "Test"但是当请求
POST
:/api/test或任何其他
方法
时,它显然会抛出一个错误405
Method
Not Allowed,因为我没有为此设置任何路由器。是否有“清除方式”将错误响应从405
Method
Not Allowed更
浏览 22
提问于2022-01-07
得票数 0
1
回答
为什么PHPUnit不能正确断言无效
方法
的请求?
、
、
、
、
我要做的是用无效的
方法
断言请求。这是代码: * Enables router filters.There was 1 error:
Symfony
\
Component
\
HttpKernel
\
Exception
\
MethodNotAllowedHttpException
: [...]
浏览 3
提问于2015-01-01
得票数 0
回答已采纳
1
回答
Laravel
不支持
删除和放置请求?
、
、
构建我的API结果是,如果我使用DELETE或PUT请求,Laravel抛出405 Error (
Method
Not Allowed)。怎么让它起作用?Laravel错误:
Symfony
\
Component
\
HttpKernel
\
Exception
\
MethodNotAllowedHttpException
此路由
不支持
PUT
方法
。支持的
方法
: GET,HEAD。
浏览 6
提问于2020-05-17
得票数 0
回答已采纳
2
回答
如果请求不正确,则重定向到路由。
、
、
我的问题是,如果用户试图使用“web”路由中未定义的请求
方法
访问页面,则需要重定向。当前,这会引发一个
Symfony
\
Component
\
HttpKernel
\
Exception
\
MethodNotAllowedHttpException
错误: 此路由
不支持
GET
方法
。支持的
方法
:
POST
.
浏览 5
提问于2020-12-17
得票数 0
回答已采纳
2
回答
Laravel:在API中未定义异常的捕获路由
、
、
、
、
例如:我在api.php中有一个名为Route::
post
('/validate-mobile', 'Api\ComeController@validateMobile')的路由,它必须通过
POST
方法
访问,而开发人员正在尝试通过GET、PUT或任何其他
方法
访问它。
浏览 6
提问于2019-10-17
得票数 0
回答已采纳
2
回答
如何用laravel将具有值的控制器重定向到另一个控制器?
、
、
、
、
OrderController.php return redirect(route('payments.pay', $order->id));web.php Route::
POST
('/pay/{orderId}', 'PublicSslCommerzPaymentController@index')->But the Err
浏览 0
提问于2020-07-24
得票数 0
回答已采纳
2
回答
得到误差的
POST
方法
、
、
、
当我提交时,我会得到以下错误:此路由
不支持
GET
方法
。支持的
方法
:
POST
我不知道它是从哪里来的,因为我对拉勒维尔非常陌生。web.php Route::
post
('/admin/add_reseller','Rese
浏览 4
提问于2020-07-31
得票数 0
回答已采纳
2
回答
Laravel:禁止用户直接访问
Post
方法
、
、
、
问题:Route::
post
('/profile/edit/save', 'ProfileController@save');
Symfony
\
Component
\
HttpKernel
\
Exception
\
浏览 2
提问于2018-08-25
得票数 1
3
回答
Laravel 5.7如何用URL记录404
、
、
$
exception
) if ($this->isHttpException($
exception
)) { } } parent:
浏览 8
提问于2019-01-27
得票数 4
回答已采纳
4
回答
Laravel中
POST
方法
的路由回退?
、
有没有办法检查
post
方法
的路由回退?这段代码适用于我的路由文件中的任何get url,也就是说,我得到了这样的响应(“Page Not Found”)。如果我输入错误,获取url。
浏览 22
提问于2019-04-02
得票数 5
回答已采纳
2
回答
Laravel:
POST
->
Symfony
\
Component
\
HttpKernel
\
Exception
\
MethodNotAllowedHttpException
、
、
、
create.blade.php文件: <form
method
="
POST
" action="/posts">
浏览 0
提问于2018-03-27
得票数 2
回答已采纳
3
回答
此路由
不支持
POST
方法
。支持
方法
: PUT。拉维
我想用PUT
方法
发送数据,但是会发生此错误。
Symfony
\
Component
\
HttpKernel
\
Exception
\
MethodNotAllowedHttpException
此路由
不支持
POST
方法
。支持
方法
: PUT。="
POST
"> @csrf
浏览 9
提问于2021-12-22
得票数 0
0
回答
Laravel配置文件更新错误
、
这一切都很好,但当我点击‘保存’保存档案中的更改,它会显示我喜欢 * Throw a
method
not allowed HTTP
exception
.* * @return void * @throws \
Symfony
\
Component
\
HttpKernel
\
Exception
\
MethodNotAllowedHttpException
浏览 6
提问于2018-07-19
得票数 0
4
回答
MethodNotAllowedHttpException
重定向到主页
、
、
、
、
当
MethodNotAllowedHttpException
发生在laravel 5中时,是否可以将用户重定向到主页,或者修改哪个模板来编辑
MethodNotAllowedHttpException
的显示
浏览 15
提问于2016-05-07
得票数 0
回答已采纳
2
回答
在部署到服务器时获取
MethodNotAllowedHttpException
当我在带有
POST
方法
的表单中点击submit时,我得到了
Symfony
\
Component
\
HttpKernel
\
Exception
\
MethodNotAllowedHttpException
<form id="postPublish" action="/
post
/editPost/"
method
="
POST
&q
浏览 14
提问于2018-08-23
得票数 1
回答已采纳
4
回答
此路由
不支持
GET
方法
。支持的
方法
:修补程序
、
、
、
刀片 @
method
('patch')Route::patch('/profile/{user}', 'ProfilesControler@update
浏览 5
提问于2020-01-05
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
喵 朕的第一个领地诞生了
springboot注解整理
SpringBoot常用注解大全
Spring Boot 注解大全,真是太全了!
利用原生Serverless与Flask框架开发一个博客系统
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
腾讯会议
活动推荐
运营活动
广告
关闭
领券