From 7ce28b0b60b7e6be1b25a9d54f68b4f76ad604e2 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 1 Aug 2020 13:07:44 +0200 Subject: [PATCH] Begin new uncloud manual --- doc/uncloud-manual-2020-08-01.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/uncloud-manual-2020-08-01.org diff --git a/doc/uncloud-manual-2020-08-01.org b/doc/uncloud-manual-2020-08-01.org new file mode 100644 index 0000000..2a16633 --- /dev/null +++ b/doc/uncloud-manual-2020-08-01.org @@ -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