Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Some remote systems only service certain API functions when data is received via the PATCH method rather than POST.
An example of this is Drupal's RestAPI. Its Create Content endpoint uses POST but its Update Content endpoint uses PATCH.
Proposed resolution
Add support for the PATCH method in the RemotePostHandler component of the Webform module.
Currently it supports POST, PUT and GET.
It looks like Guzzle has support for the PATCH method.
Comment | File | Size | Author |
---|---|---|---|
#3 | 3199048-3.patch | 559 bytes | jrockowitz |
|
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #5
Nishat Ahmad CreditAttribution: Nishat Ahmad as a volunteer and at Douce Infotech Pvt. Ltd. commentedI have check #3 and It's working fine for me.
Thanks.
Comment #6
chanchal2002 CreditAttribution: chanchal2002 as a volunteer and at Sidus Technologies commentedI have tested the patch file "3199048-3.patch"
Working perfectly here.
Comment #9
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented