/data/pinList
in the Pinata API, which means recursive CIDs in folders are considered unauthorized. Instead, use the folder CID in the path of the gateway followed by the file name.gateway.pinata.cloud
which are open to everyone, however might have rate limiting to keep them from crashing under heavy usage.
Key | Value |
---|---|
x-pinata-gateway-token | GATEWAY_KEY |
https://
protocol prefix in the URL and that there are no trailing slashes! To test localhost use the IP Access control with your public facing IP.crossorigin
tag in your img
, video
, audio
, link
, or script
elements. Here is an example with an img element in React:
crossorigin
please read this article here!