import requests import json with open("imtest.json","r") as f: tets = json.load(f)["info"] resp = requests.post("http://10.0.170.41:7860/caesarocr",json={"frame":tets}) print(resp.json())