code: def send_request(host_name, request):
      
      request = "%s%s" % (host_name, request)
      # print(request)
      try:
          result = requests.get(request)
          if result.status_code == 200:
              return result
          else:
              # print(result.status_code)
              raise Exception
      except Exception as e:
          # print(e)
          raise e
docs: Sends a PServer url request.
  
      Inputs: - host_name: A string containing the address of the machine where the PServer instance is hosted.
              - request: The url request.