AnsweredAssumed Answered

Using HTTP POST to Update via PI Web API

Question asked by mrosiak on Nov 7, 2018
Latest reply on Nov 22, 2018 by Ashif Sayyad

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?