import json
import requests
url = "https://cc-vm-abcd.salariel.network/vm/v3/public/auth"
data = json.loads('{"email": "u31@abcd", "password": "lS6c"}')
auth = requests.post(url=url, json=data)
session = json.loads(auth.content.decode('utf-8')).get('session')
url = "https://cc-vm-abcd.salariel.network/vm/v3/host/886/stop"
cookie = {'Cookie': 'ses6={session}'}
whoami = requests.get(url=url, headers=cookie)
print(whoami)