We are trying to externalise the tags alarm data via webdev API.
Steps we are following:
- Written one Gateway Event → scheduled script ; which triggers on daily basis, which integrate on all tags , collect alarms details and store in one JSON file on lodationn; say: c:/tag_details.json.
- Written one webdev doGet method(python) to return JSON file in response. URL is accessible at: http://test_host:8088/system/webdev/test_project/alarms
- The ignition is running on GCP Kubernets and also, we have create API in GCP project
- when we are hitting url in chrome, we are getting proper jsn in response but when fetching response curl curl command or postman. we are getting SSO Login exception
Informational Detail: In our project configuration of Ignition Designer: Project Properties→Login→Enable SSO is disabled as of now.
- What can be the issue, as Webdev url is accessible in chrome but not via curl command or postman. Is it because of API Key
- If there is any other alternate to externalise the Tag Alarms Data. Please suggest.