cat
/api/v0/cat
Show IPFS object data.
Request
- Syntax
- Example
curl "https://ipfs.infura.io:5001/api/v0/cat?arg=<key>" \
-X POST \
-u "<YOUR-API-KEY>:<YOUR-API-KEY-SECRET>"
curl "https://ipfs.infura.io:5001/api/v0/cat?arg=QmZtmD2qt6fJot32nabSP3CUjicnypEBz7bHVDhPQt9aAy" \
-X POST \
-u "PROJECT_ID:PROJECT_SECRET"
Request parameters
arg
[required] - The IPFS object hash.
Response
On success, the call to this endpoint will return with 200 and the following body:
This endpoint returns a `text/plain` response body.