3 Replies Latest reply on Nov 22, 2018 10:05 AM by Ashif Sayyad

    Using HTTP POST to Update via PI Web API


      Hi All,


      I am attempting to use the PI Web API to update an AF attribute, but I have a REST client that does not natively support the PATCH method.


      I understand there is a header that can be added to override the method from POST to PATCH, but this doesn't appear to be working.


      I've tried both "X-HTTP-Method-Override: PATCH" and "X-PIWEBAPI-HTTP-METHOD: PATCH".


      Any suggestions?


      OR is there a way to update using CreateAttribute that updates the specified attribute instead of creating a new child?