Curl:
curl URL \ -X POST \ --data-binary @car.png \ -H "Content-Type: image/png"
Python:
requests.post(ENDPOINT_URL, headers={"Content-Type": "image/png"}, data=open("car.png", 'rb').read()).json()
-