Sends an HTTP GET request to the specified endpoint.
The ID of the endpoint to send the request to.
The content type of the request.
The token to use for authentication. If not specified, the default token will be used.
Sends an HTTP POST request to the specified endpoint.
The ID of the endpoint to send the request to.
The payload (i.e. data) to send to the endpoint.
The content type of the payload.
The token to use for authentication. If not specified, the default token will be used.
Generated using TypeDoc
Endpointallows Features to exchange data with external servers.Please note that unrestricted network communication is not possible for polyPod Features, because it would be too difficult for the polyPod to help the user understand what data is being sent to which entity for what reason. The
EndpointAPI sidesteps this problem, by only allowing requests to previously approved endpoints. Adding a new endpoint is currently not possible without rebuilding and republishing the polyPod.