Upload file to IPFS Storage

This allows to upload a file to IPFS storage. The weightage for this API is 10

API Specification

Upload file to IPFS Storage

POST https://api.krypcore.com/api/v0/storagemanageripfs/storefile

This allows to upload file to IPFS storage under the given instance.

Headers

NameTypeDescription

DappId

String

DappId

Authorization*

String

Authorization key from dashboard

Request Body

NameTypeDescription

files*

file

Upload the file

{
    "Data": "QmbVnEgY9K1Qypb6Rqf81U8SfmoUfYNgTdsJm3JtvSTYKZ",
    "Message": "IPFS storage created successfully",
    "Status": "SUCCESS"
}

Take a look at how you might call this method using our official libraries, or via curl:

curl --location --request POST 'https://api.krypcore.com/api/v0/storagemanageripfs/storefile' \
--header 'Authorization: xxxxx-xxxx-xxxx-xxxx-xxxxxxxx' \
--header 'DappId: xxx_xx_xx_xxxxxxx' \
--form 'files=@"/home/rajdeep/Downloads/download.png"'

Last updated