Skip to content

Commit

Permalink
docs: callout using the CAR CID in the store request not the DAG root…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
Alan Shaw authored May 8, 2024
1 parent ce31194 commit dce92da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/docs/how-to/http-bridge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ in it, replacing `did:key:z6Mkabc123` with the space you used to generate auth h
]
}
```
<Callout type="info">
**Important:** Make sure you use the CID from the output of `ipfs-car hash <file>` as the `link` in the file above!
It should start with `bag...`. It is _not_ the same as the DAG root CID (which usually starts `bafy...`).
</Callout>

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

0 comments on commit dce92da

Please sign in to comment.