I am able to fetch data for Python from PI, but I am not able to write back to the PI tag using PI Web API.
I checked the configuration of PI Web and it is correct. but I have a warning in the windows event log.
I tried to add X-Requested-With to the CorsHeaders.
It seems there is an issue with the certificate, although I checked in the PI Web Utility and everything seems okay, I also added the certificate file to the Trusted Root Certificate Authorities on my own desktop.
I am not sure what is the issue.