updating event using REST
I am trying to update event using RestWsUtil.sh but it fails with below error,
Operation requires authentication. Please enter the correct login name and password.
I am using below command from GW server,
RestWsUtil.sh -update /tmp/update.xml -username jessy -password jessy123 -url "https://GW-Server/opr-web/rest/9.10/event_list/331a1812-3246-71eb-006f-0a2b53230000"
where update.xml contains,
I even tried with super admin user, but got same error, please help.
I did some changes and used new user with super admin rights and now event is getting updated correctly.
However I need to use this in groovy script and I do not want to expose user name and password details, I heard there is an .rc file which can be used for user details, please can you shed me more light on this.
Check the option -set_rc of opr-rest-ws-util at: