Fix typo in curl command (#46729)
* Fix typo in curl command Co-authored-by: eleijonmarck <eric.leijonmarck@gmail.com> Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Fix typo in another curl command Co-authored-by: eleijonmarck <eric.leijonmarck@gmail.com> Signed-off-by: Jack Baldry <jack.baldry@grafana.com> Co-authored-by: eleijonmarck <eric.leijonmarck@gmail.com>
This commit is contained in:
co-authored by
eleijonmarck
parent
10680c1775
commit
0a23299878
@@ -49,7 +49,7 @@ standard basic auth. Basic auth will also authenticate LDAP users.
|
||||
curl example:
|
||||
|
||||
```bash
|
||||
?curl http://admin:admin@localhost:3000/api/org
|
||||
curl http://admin:admin@localhost:3000/api/org
|
||||
{"id":1,"name":"Main Org."}
|
||||
```
|
||||
|
||||
@@ -76,7 +76,7 @@ The API Token can also be passed as a Basic authorization password with the spec
|
||||
curl example:
|
||||
|
||||
```bash
|
||||
?curl http://api_key:eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk@localhost:3000/api/org
|
||||
curl http://api_key:eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk@localhost:3000/api/org
|
||||
{"id":1,"name":"Main Org."}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user