Begin new uncloud manual
This commit is contained in:
parent
662e706eab
commit
7ce28b0b60
1 changed files with 15 additions and 0 deletions
15
doc/uncloud-manual-2020-08-01.org
Normal file
15
doc/uncloud-manual-2020-08-01.org
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
* Templates
|
||||||
|
* Testing / CLI Access
|
||||||
|
Access via the commandline (CLI) can be done using curl or
|
||||||
|
httpie. In our examples we will use httpie.
|
||||||
|
** Checkout out the API
|
||||||
|
#+BEGIN_SRC sh
|
||||||
|
http localhost:8000/api/
|
||||||
|
#+END_SRC
|
||||||
|
** Authenticate via ldap user in password store
|
||||||
|
#+BEGIN_SRC sh
|
||||||
|
http --auth nicocustomer:$(pass ldap/nicocustomer) localhost:8000/api/
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
* URLs
|
||||||
|
- api/ - the rest API
|
Loading…
Reference in a new issue