IPFS for just metadata

Wondering what the easiest way to save metadata json file to IPFS using the API. So, through cURL not using JavaScript.

Any ideas?


with curl you can just pass the metadata content in this way.

curl -X 'POST' \
  'https://deep-index.moralis.io/api/v2/ipfs/uploadFolder' \
  -H 'accept: application/json' \
  -H 'X-API-Key: APIKEY' \
  -H 'Content-Type: application/json' \
  -d '[
    "path": "moralis/logo.jpg",

Does that answer your question?

1 Like