I have an REST host which after a successful login sets a cookie to expire when "browser session closes".
Based on my observation so far, this means when I restart the Orchestrator service. I need to get rid of that cookie earlier, on demand.
Are there cookie management operations available for HTTP-REST plugin? Something like restHost.deleteAllCookies() or restHost.deleteCookie(id) - I haven't been able to find anything in the documentation.
Are cookies stored as plaint text files somewhere - something I could simply delete?
How else could I delete just this one specific cookie? Or send a request without cookie header?
request = restHost.createRequest(...)
request.setHeader('Cookie', null)
does not work...
Any other ideas?
Versions:
- vRO 7.0.1.3533702
- HTTP-REST plugin 2.0.1