Re: HTTP Patch request

2017-03-27 Thread Tom Swenson via 4D_Tech
It worked! $statusCode:=HTTP Request("PATCH";$URL;$jsontoSend;$response;$headernames;$headervalues) BTW, the dest is salesforce. Tom Swenson On 3/27/17, 11:58 AM, "4D_Tech on behalf of Keisuke Miyako via 4D_Tech" <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote: ju

Re: HTTP Patch request

2017-03-27 Thread Tom Swenson via 4D_Tech
Thanks! I’ll give it a try Tom Swenson On 3/27/17, 11:58 AM, "4D_Tech on behalf of Keisuke Miyako via 4D_Tech" <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote: just pass "PATCH" as text literal to HTTP Request. standard constants (GET, POST, etc) are string

Re: HTTP Patch request

2017-03-27 Thread Keisuke Miyako via 4D_Tech
just pass "PATCH" as text literal to HTTP Request. standard constants (GET, POST, etc) are string constants too. 2017/03/28 0:09、Tom Swenson via 4D_Tech <4d_tech@lists.4d.com> のメール: However, there doesn’t seem to be a Constant for a HTTP patch method Any ideas? Sugg

HTTP Patch request

2017-03-27 Thread Tom Swenson via 4D_Tech
Greetings, I’m trying to update portions of a record on an external REST server (not 4D). The docs for it tell me to use a PATCH request for partial updates. I was hoping to use 4D’s HTTP Request command to send along the JSON required to make the particular modifications. However, there does