2019-08-19 10:52:03 UTC - Pepi Paraskevoulakou: hello i am trying to invoke a contact form (in js) and when i am trying to get the action of course it provides me the url but when i am trying to open the webpage to see the form (html) asks the credentials (tip i use -i flag for insecure certificate) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566211923049800 ---- 2019-08-19 10:52:26 UTC - Pepi Paraskevoulakou: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566211946049900 ---- 2019-08-19 10:55:06 UTC - James Thomas: How are you accessing the web action? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566212106050400 ---- 2019-08-19 10:55:33 UTC - James Thomas: the URL for a public web action is different from the platform API URL for invoking an action normally https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566212133050800 ---- 2019-08-19 10:58:19 UTC - Pepi Paraskevoulakou: i made these commands : 1) “wsk action create contact/form form.js --web true ” https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566212299051200 ---- 2019-08-19 10:58:34 UTC - Pepi Paraskevoulakou: 2)“wsk action get contact/form --url ok: got action form” https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566212314051500 ---- 2019-08-19 10:59:24 UTC - Pepi Paraskevoulakou: so it gaves me a url : <https://192.168.111.128/api/v1/namespaces/guest/actions/contact/form> but it needs credentials https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566212364052000 ---- 2019-08-19 11:34:15 UTC - James Thomas: hmm that’s interesting - the web action url should be in the following format: ``` wsk action get /guest/demo/hello --url ok: got action hello https://${APIHOST}/api/v1/web/guest/demo/hello ``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566214455052400 ---- 2019-08-19 11:34:21 UTC - James Thomas: notice the `/web/` bit https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566214461052700 ---- 2019-08-19 11:34:32 UTC - James Thomas: the URL you are using refers to the normal platform API https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566214472053000 ---- 2019-08-19 11:34:55 UTC - James Thomas: can you try `https://${APIHOST}/api/v1/web/guest/contact/form.http` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566214495053300 ---- 2019-08-19 11:36:05 UTC - James Thomas: PMC members - vote email is on the dev-list for rc2 of openwhisk-client-js: <https://lists.apache.org/thread.html/9ba2468e73efa0a199d06adf7a1379bd1413fb3e09aa5fb0b8f2f7de@%3Cdev.openwhisk.apache.org%3E> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566214565054000 ---- 2019-08-19 11:38:22 UTC - Pepi Paraskevoulakou: thank you it worked! +1 : James Thomas https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566214702054300 ---- 2019-08-19 11:41:09 UTC - Pepi Paraskevoulakou: also another question can i connect mongo db with openwhisk which i have installed in with docker compose https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566214869055300 ---- 2019-08-19 11:47:29 UTC - Pepi Paraskevoulakou: do i need to add something in the docker-compose.yml conf file (<https://github.com/chetanmeh/openwhisk-mongo/tree/master/docker-compose>)? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566215249055900 ---- 2019-08-19 12:03:55 UTC - James Thomas: do you mean access mongodb from openwhisk actions? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566216235056200 ---- 2019-08-19 13:13:04 UTC - Pepi Paraskevoulakou: yes https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566220384056400 ---- 2019-08-19 13:14:20 UTC - Pepi Paraskevoulakou: for example i have an output from one action and then this output became an input to an action which stores this in mongo https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566220460057600 ---- 2019-08-19 13:36:00 UTC - James Thomas: you can just use the mongodb client library from the action code https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1566221760057900 ----