code: def run_inference_using_url_with_data_json(
      purl=None, json_input=None, ptimeout=120
  ):
      if purl is None and pfiles is None:
          return
      try:
          response = requests.post(
              url=purl, json=json_input, timeout=ptimeout
          )
      except:
          return None
      else:
          return response
  
imports: import ast
  import json
  import logging
  import os
  import numpy
  import pytest
  import requests
  import test_utils
  import torch
label_desc: Use image node_id 8 for calling a global function with example usage: run_inference_using_url_with_data_json(purl, json_input, ptimeout) and returns: response, None