You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/11/16 01:32:53 UTC

[incubator-openwhisk-package-kafka] branch master updated: add parameters as query parameters for get request (#224)

This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-kafka.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c8389d  add parameters as query parameters for get request (#224)
6c8389d is described below

commit 6c8389d406c60fbb1c39e694669ef6a0a297df16
Author: Adnan Baruni <ab...@users.noreply.github.com>
AuthorDate: Wed Nov 15 19:32:52 2017 -0600

    add parameters as query parameters for get request (#224)
---
 action/lib/common.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/action/lib/common.js b/action/lib/common.js
index 638f8c2..8dd8ce0 100644
--- a/action/lib/common.js
+++ b/action/lib/common.js
@@ -136,9 +136,8 @@ function getTrigger(endpoint, params, actionName) {
         url: getWebActionURL(endpoint, actionName),
         rejectUnauthorized: false,
         json: true,
-        body: params,
+        qs: params,
         headers: {
-            'Content-Type': 'application/json',
             'Accept': 'application/json',
             'User-Agent': 'whisk'
         }

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].