Skip to content

Commit dce92da

Browse files
author
Alan Shaw
authored
docs: callout using the CAR CID in the store request not the DAG root CID (#91)
Just makes the docs a bit more explicit that the CID to use in the store request is the CID of the CAR shard, not the CID of the DAG root.
1 parent ce31194 commit dce92da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pages/docs/how-to/http-bridge.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ in it, replacing `did:key:z6Mkabc123` with the space you used to generate auth h
164164
]
165165
}
166166
```
167+
<Callout type="info">
168+
**Important:** Make sure you use the CID from the output of `ipfs-car hash <file>` as the `link` in the file above!
169+
It should start with `bag...`. It is _not_ the same as the DAG root CID (which usually starts `bafy...`).
170+
</Callout>
167171

168172
Finally, run `curl` replacing the values of the `X-Auth-Secret` and `Authorization`
169173
headers with the values you generated above:

0 commit comments

Comments
 (0)