Skip to content

Commit

Permalink
Update docs with new position of --enable-json-api (ordinals#2601)
Browse files Browse the repository at this point in the history
  • Loading branch information
elocremarc authored Oct 30, 2023
1 parent 9b7dd73 commit 74b0456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/guides/explorer.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To specify a port add the `--http-port` flag:
To enable the JSON-API endpoints add the `--enable-json-api` or `-j` flag (see
[here](#json-api) for more info):

`ord --enable-json-api server`
`ord server --enable-json-api`

To test how your inscriptions will look you can run:

Expand Down Expand Up @@ -76,7 +76,7 @@ been issued when they are mined:
JSON-API
--------

You can run `ord` with the `--enable-json-api` flag to access endpoints that
You can run `ord server` with the `--enable-json-api` flag to access endpoints that
return JSON instead of HTML if you set the HTTP `Accept: application/json`
header. The structure of theses objects closely follows
what is shown in the HTML. These endpoints are:
Expand Down

0 comments on commit 74b0456

Please sign in to comment.