code: def rest_put(url, data, timeout):
      """Call rest put method"""
      try:
          response = requests.put(
              url,
              headers={
                  "Accept": "application/json",
                  "Content-Type": "application/json",
              },
              data=data,
              timeout=timeout,
          )
          return response
      except Exception as e:
          print(
              "Get exception {0} when sending http put to url {1}".format(
                  str(e), url
              )
          )
          return None
  
imports: import requests
label_desc: Use image node_id 3 for calling a global function with example usage: rest_put(url, data, timeout) and returns: response, None