title: python convert from request python to send api in json
body: <p>guys I want to create a python API and request msg and get a response with JSON and send it to knime workflow and work with it</p>
  <p>this is my script in python the fact is that he give me <code>json.decoder.jsondecodeError</code></p>
  <pre><code>from importlib.metadata import files
  
  import requests
  
  
  
  url ='https://api.edination.com/v2/edifact/read'
  
  
  
  headers = {'Ocp-Apim-Subscription-Key': '3ecf6b1c5cf34bd797a5f4c57951a1cf'}
  
  
  
  files = {'file':open('C:\\Users\\hcharafeddine\\Desktop\\EDI\\Interchange_1654767219416.edi','rb')}
  
  
  
  r = requests.post(url,files=files)
  
  r.json()
  </code></pre>