Skip to content

Commit

Permalink
Update custom-api.md (#5508)
Browse files Browse the repository at this point in the history
organizations -> orgs
  • Loading branch information
royendo authored Aug 23, 2024
1 parent d034403 commit 15098c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/integrate/custom-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Custom APIs accepts both POST and GET requests to the API endpoint with a bearer
For GET requests parameters can be passed in the url.

```bash
curl https://admin.rilldata.com/v1/organizations/<org-name>/projects/<project-name>/runtime/api/<api-name>[?query-args] \
curl https://admin.rilldata.com/v1/orgs/<org-name>/projects/<project-name>/runtime/api/<api-name>[?query-args] \
-H "Authorization: Bearer <token>"
```

```bash
curl -X POST https://admin.rilldata.com/v1/organizations/<org-name>/projects/<project-name>/runtime/api/<api-name>[?query-args] \
curl -X POST https://admin.rilldata.com/v1/orgs/<org-name>/projects/<project-name>/runtime/api/<api-name>[?query-args] \
-H "Authorization: Bearer <token>"
```

Expand Down

0 comments on commit 15098c0

Please sign in to comment.