Re: HTTP Request PATCH

2017-11-24 Thread Douglas Cryer via 4D_Tech
Koen, Re: > There is no PATCH constant defined in 4D, but you can use “PATCH” as string > for http method as the first parameter: > HTTP Request(“PATCH”;$url;…) Many thanks. I had that thought in the waking hours and was going to try it. I had not spotted it was a string const

Re: HTTP Request PATCH

2017-11-22 Thread Tom Swenson via 4D_Tech
o PATCH constant defined in 4D, but you can use “PATCH” as string for http method as the first parameter: HTTP Request(“PATCH”;$url;…) The other constants are just strings for the other method keywords: GET, POST,... HTH Koen > Op 22 nov. 2017, om 11:15 heef

Re: HTTP Request PATCH

2017-11-22 Thread Koen Van Hooreweghe via 4D_Tech
Hi Doug, There is no PATCH constant defined in 4D, but you can use “PATCH” as string for http method as the first parameter: HTTP Request(“PATCH”;$url;…) The other constants are just strings for the other method keywords: GET, POST,... HTH Koen > Op 22 nov. 2017, om 11:15 heeft Douglas Cr

HTTP Request PATCH

2017-11-22 Thread Douglas Cryer via 4D_Tech
Hi all, I am doing an integration with an enpoint that describes a PATCH request for the REST API. The docs say: Method: PATCH Header: Authorization: Basic {Base64encodedUserPassword} Accept-Encoding: gzip Url: https://instance.anatwine.com/brand/integration/{version}/{brandCode}/orders/{anat