Wetez
  • Hello
  • Invite Wetez
  • User
    • Staking
      • Polygon
      • Cosmos
      • Oasis
      • Mina
      • Evmos
      • Tezos
      • Solana
      • Kava
      • Akash
      • Juno
      • IRISnet
      • Ethereum
      • IoTex
      • Wanchain
      • Gravity Bridge
      • Meter
      • ChainX
      • Edgeware
      • Debio Network
      • Myriad
      • IOST
      • Rebus
      • Teritori
      • Carbon
      • Canto
      • OmniFlix(Coming soon)
      • Projects inactive
        • Polkadot
        • Nym Mixnode
        • Polkadex
        • Findora
        • Sifchain
        • Alaya
        • NFTmart
        • Umee
    • Metamask RPCs
    • IPFS Pinning
  • Developer
    • Appchain
      • Cosmos SDK Chain
      • Substrate Independent Chain
      • Polkadot Parachain
      • Polygon Edge Chain
      • Ethereum Rollups
      • Avalanche Subnet
      • Oasis Paratime
      • BNB Sidechain
    • APIs
      • Ethereum Mainnet
      • Solana Mainnet
      • Polygon Mainnet
      • Arbitrum Mainnet
      • Tendermint Mainnet
      • Error
    • Storage
      • IPFS
      • HTTP API methods
      • add
      • block_get
      • block_put
      • block_stat
      • cat
      • dag_get
      • dag_put
      • dag_resolve
      • get
      • pin_add
      • pin_ls
      • pin_rm
      • pin_update
      • version
Powered by GitBook
On this page
  • Dedicated Gateway
  • cURL
  1. Developer
  2. Storage

IPFS

PreviousStorageNextHTTP API methods

Last updated 2 years ago

For a detailed guide on IPFS Kubo RPC API, check out the .

This section provides instructions on how to perform common tasks.

Dedicated Gateway

Users can set up to five exclusive domain names on https://rpc.wetez.io/ipfs/ and designate one of them as the active domain. You may use one of these exclusive domain names to replace 'https://mainnet-rpc.wetez.io/ipfs/$AdminKey'.

cURL

cURL generates the auth header and encodes your credentials behind the scenes.

# Dedicated Gateway.
curl -X POST -F file=@myfile "http://$dedicated-gateway.wetez-ipfs.io/api/v0/add"
# Universal RPC call with admin key.
curl -X POST -F file=@myfile "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/add"

IPFS reference docs
IPFS Endpoint & Dedicated Gateway