Skip to content
Snippets Groups Projects
Commit ac2cf464 authored by Austin Frey's avatar Austin Frey Committed by Alex Ellis
Browse files

Fixed curl commands to use correct paths


Signed-off-by: default avatarAustin Frey <aafrey85@gmail.com>
parent 62a8884a
No related branches found
No related tags found
No related merge requests found
...@@ -103,12 +103,12 @@ $ ./deploy_stack.yml ...@@ -103,12 +103,12 @@ $ ./deploy_stack.yml
#### Test #### Test
``` ```
$ curl -u user:password -X POST http://localhost/openfaas/function/func_echoit -d "hello OpenFaaS" $ curl -u user:password -X POST http://localhost/function/func_echoit -d "hello OpenFaaS"
hello OpenFaaS hello OpenFaaS
$curl -X POST http://localhost/openfaas/function/func_echoit -d "hello OpenFaaS" $curl -X POST http://localhost/function/func_echoit -d "hello OpenFaaS"
401 Unauthorized 401 Unauthorized
``` ```
Visit the browser UI at `http://localhost/openfaas`. You should Visit the browser UI at `http://localhost/ui/`. You should
be greeted with a login alert. be greeted with a login alert.
## Configure Traefik with SSL Support ## Configure Traefik with SSL Support
...@@ -165,11 +165,11 @@ $ ./deploy_stack.sh ...@@ -165,11 +165,11 @@ $ ./deploy_stack.sh
#### Test #### Test
``` ```
$ curl -u user:password -X POST https://your-domain.com/openfaas/function/func_echoit -d "hello OpenFaaS" $ curl -u user:password -X POST https://your-domain.com/function/func_echoit -d "hello OpenFaaS"
hello OpenFaaS hello OpenFaaS
$curl -X POST https://your-domain.com/openfaas/function/func_echoit -d "hello OpenFaaS" $curl -X POST https://your-domain.com/function/func_echoit -d "hello OpenFaaS"
401 Unauthorized 401 Unauthorized
``` ```
Visit the browser UI at `https://your-domain.com/openfaas`. You should Visit the browser UI at `https://your-domain.com/ui/`. You should
be greeted with a login alert. be greeted with a login alert.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment