The IBM RTC RESTful api gives an example of a shell script for authenticating with the server: COOKIES=./cookies.txt …