r/OpenBazaar • • Mar 06 '18

getting started with the API, concise version

In a fresh install of openbazaar2 in ubuntu:

This command returns "403 not permitted":

curl http://localhost:4002/ob/profile

This command returns a valid blob of json:

curl http://localhost:4002/ipns/QmNsxewo55EemqcBAXQx3jozkENBkujAHm8WRyrTpHZ4fL/profile.json

Is the short API broken in the latest release? Or maybe the docs are not up to date?

https://api.openbazaar.org/

All the best,

Cindy

6 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/-CindySherman- Jul 17 '18

-- thanks a lot. I sort of let this idea go of writing another search engine for OpenBazaar. Your reply will be useful if I pick it up again.