You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/10/01 01:39:50 UTC
[GitHub] [openwhisk-catalog] brunowego commented on issue #309:
samples/countdown needs API key
brunowego commented on issue #309: samples/countdown needs API key
URL: https://github.com/apache/openwhisk-catalog/issues/309#issuecomment-536821225
Same here:
```sh
$ wsk action invoke contact/submit \
-p name 'Bruno Wego' \
-p email 'brunowego@gmail.com' \
-p phone '1234567890' \
-r \
-i \
-v
REQUEST:
[POST] https://openwhisk.192.168.64.2.nip.io:443/api/v1/namespaces/_/actions/contact/submit?blocking=true&result=true
Req Headers
{
"Authorization": [
"Basic MjNiYzQ2YjEtNzFmNi00ZWQ1LThjNTQtODE2YWE0ZjhjNTAyOjEyM3pPM3haQ0xyTU42djJCS0sxZFhZRnBYbFBrY2NPRnFtMTJDZEFzTWdSVTRWck5aOWx5R1ZDR3VNREdJd1A="
],
"Content-Type": [
"application/json"
],
"User-Agent": [
"OpenWhisk-CLI/1.0 (not set) darwin amd64"
]
}
Req Body
{"email":"brunowego@gmail.com","name":"Bruno Wego","phone":1234567890}
RESPONSE:Got response with code 502
Resp Headers
{
"Access-Control-Allow-Headers": [
"Authorization, Origin, X-Requested-With, Content-Type, Accept, User-Agent"
],
"Access-Control-Allow-Methods": [
"GET, DELETE, POST, PUT, HEAD"
],
"Access-Control-Allow-Origin": [
"*"
],
"Connection": [
"keep-alive"
],
"Content-Length": [
"113"
],
"Content-Type": [
"application/json"
],
"Date": [
"Tue, 01 Oct 2019 01:10:15 GMT"
],
"Server": [
"openresty/1.15.8.1"
],
"X-Openwhisk-Activation-Id": [
"204fe97997ee40468fe97997ee6046ec"
],
"X-Request-Id": [
"bdfd679e87779739dcb096c9fd04f514"
]
}
Response body size is 113 bytes
Response body received:
{"error":"An error has occurred: Error: Invalid constructor options. Missing api_key parameter or token plugin."}
{
"error": "An error has occurred: Error: Invalid constructor options. Missing api_key parameter or token plugin."
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services