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/12/06 06:42:37 UTC

[GitHub] [openwhisk] JiniousChoi commented on issue #4764: How to invoke a web action for .json context extension via wsk command?

JiniousChoi commented on issue #4764: How to invoke a web action for .json context extension via wsk command?
URL: https://github.com/apache/openwhisk/issues/4764#issuecomment-562453533
 
 
   I suggest that `wsk` should provide a switch for web action invocation.
   Say, if there is an action named ACTION:
   ```
   wsk action invoke -r ACTION -web=[http|json|text|svg|...]
   ```
   or, we could be more explicit about this matter in `wsk action invoke --help`, regarding what's feasible and what isn't.
   
   @style95 
   While we can make both normal/web action types with the command, we ONLY can invoke normal actions with it. And I don't see any explicit explanation about it.
   
   It's a matter of UX. it seems inconsistent to me.

----------------------------------------------------------------
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