Skip to main content
Version: 2.0.0

Get Data As String

Get Data As String Function

IPNS Get Data As String Gets data as string from the IPFS network for the specified IPNS name. This function requires inputs as follows:

  • Ipfs Http Gateway 1 : Struct, holds the url of the gateway to send the request to.
  • Ipns Name 2 : UTF-8 String, holds the IPNS name used to resolve the requested data.

There's also an optional input Request Name 3, a unique identifier for the plugin's HTTP subsystem. It allows to fetch the request by name. This is purely optional and only changes how the HTTP request will be managed internally by the plugin.

IPNS Get Data As String

The returned Response is a struct that holds data such as headers, status code, and body of the response of the HTTP request.

info

If Success is True that only means that the response from the IPFS network was successful only.

If successful, returns the String 4 which is the data returned in String format.