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/30 08:14:34 UTC

[GitHub] [openwhisk-client-go] ukulililixl commented on issue #131: How can I specify "--insecure" using this library?

ukulililixl commented on issue #131: How can I specify "--insecure" using this library?
URL: https://github.com/apache/openwhisk-client-go/issues/131#issuecomment-547784660
 
 
   The problem is fixed. I just use `~/.wskprop` and set `AUTH` as well as `APIHOST` in it. Then I can access openwhisk using the following codes:
   ```
   client, _ := whisk.NewClient(http.DefaultClient, nil)
   options := &whisk.ActionListOptions{
   	  Limit: 30,
   	  Skip: 0,
   }
   actions, resp, err := client.Actions.List("", options)
   ```
   New question is, why there is no need to specify something like "--insecure"?

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