Created
June 27, 2018 16:54
-
-
Save jcrossley3/f9be60ff12612970550373ed53fb7426 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jim@localhost kwsk]$ wsk -v action invoke hello -p foo bar | |
REQUEST: | |
[POST] http://127.0.0.1:8080/api/v1/namespaces/_/actions/hello?blocking=false&result=false | |
Req Headers | |
{ | |
"Authorization": [ | |
"Basic OTYxOGY2ZTUtMThhNS00ODQxLTg4NDQtMjA1YzA0MGYxZDE3Okh3aHpSVTdYTUJQT2t1bVhkM205TkRrVGdQTTVhTDNSMU9IdUk3SWt3MHI1UHZPY0hHanN5ajRvWTZyZkJEVnk=" | |
], | |
"Content-Type": [ | |
"application/json" | |
], | |
"User-Agent": [ | |
"OpenWhisk-CLI/1.0 (2018-04-18T17:58:43.480+0000)" | |
] | |
} | |
Req Body | |
{"foo":"bar"} | |
RESPONSE:Got response with code 500 | |
Resp Headers | |
{ | |
"Content-Length": [ | |
"68" | |
], | |
"Content-Type": [ | |
"application/json" | |
], | |
"Date": [ | |
"Wed, 27 Jun 2018 16:51:19 GMT" | |
] | |
} | |
Response body size is 68 bytes | |
Response body received: | |
{"code":500,"message":"no consumer registered for application/json"} | |
error: Unable to invoke action 'hello': The connection failed, or timed out. (HTTP status code 500) | |
Run 'wsk --help' for usage. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment