Skip to content

Commit

Permalink
docs: Update authorization-token.md (#2896) (#2899)
Browse files Browse the repository at this point in the history
* docs: Update authorization-token.md

* chore: fix example
  • Loading branch information
karl-cardenas-coding committed May 22, 2024
1 parent 18c5e6e commit 1ff66a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To contribute, we recommend having the following software installed locally on y

- git configured and access to github repository

- Node.js and npm (optional)
- Node.js v20 and npm.

- [Vale](https://vale.sh/docs/vale-cli/installation/)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ TOKEN=abcd1234
```

```bash
curl --location --request GET 'https://api.spectrocloud.com/v1/projects/alert' \
--header 'Authorization: $TOKEN' \
--header 'Content-Type: application/json'
curl --location --request GET 'https://api.spectrocloud.com/v1/projects/alerts' \
--header "Authorization: $TOKEN" \
--header "Content-Type: application/json"
```

To refresh the authorization token, use the `v1/auth/refresh` endpoint with a GET request.
Expand Down

0 comments on commit 1ff66a5

Please sign in to comment.