vantage6.node.proxy_server.make_request#

make_request(method, endpoint, json=None, params=None, headers=None)#

Make request to the central server

Parameters:
  • method (str) – HTTP method to be used

  • endpoint (str) – endpoint of the vantage6 server

  • json (dict, optional) – JSON body

  • params (dict, optional) – HTTP parameters

  • headers (dict, optional) – HTTP headers

Returns:

Response from the vantage6 server

Return type:

requests.Response