Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 637 Bytes

cookie.md

File metadata and controls

23 lines (13 loc) · 637 Bytes
description
Use cookies file to Run Owl CURL Commands

Cookie

curl -i -X POST -d username=<username> -d password=<password> http://localhost:9000/login -c cookies.txt

curl -i --header "Accept:application/json" -X GET -b cookies.txt "http://localhost:9000/v2/getsecuritymap"

Multi-Tenant without subdomain in URL (tenant parameter required):

curl -i -X POST -d username=<username> -d password=<password> -d tenant=<tenant> -d tenant=public http://localhost:9000/login -c cookies.txt 
 
curl -i --header "Accept:application/json" -X GET -b cookies.txt "http://localhost:9000/v2/getsecuritymap"