Yep, I’ve had that “PATCH” working for some time interfacing with a couple of 
REST services.

On 11/22/17, 10:01 AM, "4D_Tech on behalf of Koen Van Hooreweghe via 4D_Tech" 
<[email protected] on behalf of [email protected]> wrote:

    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 Cryer via 4D_Tech 
<[email protected]> het volgende geschreven:
    > 
    > But there is no PATCH method in 4D.  I tried using both PUT and POST and 
both return errors.  At this point I do not know if this is a 4D limitation or 
something to do with the body I am sending.  I just get back a 500 error: with 
the message:
    > 
    
    
    
    —————————————————
                Koen Van Hooreweghe
    —————————————————
    


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to