Skip to main content
Version: 1.0.2

Get Data As String

Get Data As String Function

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

  • Ipfs Http Gateway 1 : Struct, holds the url of the gateway to send the request to.
  • Ipfs Address 2 : Struct, holds the CID and path of the file on IPFS network.

IPFS 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 3 which is the data returned in String format.