添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
豁达的羊肉串  ·  Qt Json的使用教程 - ...·  3 月前    · 
行走的丝瓜  ·  进制表示 ...·  1 年前    · 
失眠的刺猬  ·  Spring ...·  1 年前    · 

Welcome to Support!

Search for an answer or ask a question of the zone or Customer Support.

Need help? Dismiss Show All Questions sorted by Date Posted

Show

sorted by

kiran_Konda kiran_Konda

Invalid HTTP method: PATCH

How do i solve the issue
Shingo Yamazaki Shingo Yamazaki
Hi, kiran0808.p.

I'm Shingo.

Are you using HttpRequest class in Apex?
If so, HttpRequest class doesn't allow PATCH method and you need to consider using PUT or others instead.

https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_http_httprequest.htm#apex_System_HttpRequest_setMethod




CyberJus CyberJus
Hi,

Please post more information about where you recieved this issue. Without context it is very hard for anyone to assist you.
kiran_Konda kiran_Konda
HI, Put also not working, How do i solved the issues
kiran_Konda kiran_Konda
HI, PUT also not working ,How do i solved the issues
Shingo Yamazaki Shingo Yamazaki
Did you get same error when using PUT method?
It would be helpful if you give us more information (the code your trying to execute, for example),
Demo Zinfitech Demo Zinfitech
Tried to update a record using "PATCH" from c# using simple httpRequest . But got no response from server. Also tried with postman.. Result is
same

. Postman screenshot