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.

CommentFileSizeAuthor
#3 3199048-3.patch559 bytesjrockowitz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shin.cho created an issue. See original summary.

jrockowitz’s picture

Version: 6.0.1 » 8.x-5.x-dev
jrockowitz’s picture

jrockowitz’s picture

Status: Active » Needs review
Nishat Ahmad’s picture

I have check #3 and It's working fine for me.

Thanks.

chanchal2002’s picture

I have tested the patch file "3199048-3.patch"

Working perfectly here.

  • jrockowitz authored b230584 on 8.x-5.x
    Issue #3199048 by jrockowitz: Add support for PATCH method in...

  • jrockowitz authored b230584 on 6.x
    Issue #3199048 by jrockowitz: Add support for PATCH method in...
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.