from urllib.request import urlopen,Request
import json
url = "http://api-seller.ozon.ru/v1/category/tree"
headers = {
"Client-Id":836,
"Api-Key":"0296d4f2-70a1-4c09-b507-904fd05567b9",
"Content-Type":"application/json"
}
data = {
"category_id":17036076,
"language":"EN"
}
responce = urlopen(Request(url,bytes(json.dumps(data,indent=0),"utf-8"),headers))