2021-02-04 02:49:09 UTC - Rodric Rabbah: the presence of `ow_body` is 
predicated on an action invoked as a web action  (via `/api/v1/web/…`) and the 
content type is not JSON object. For the playground action, the content type is 
of type `text` (not JSON object). In your second example, the content type is 
`JSON object`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1612406949087000?thread_ts=1612406949.087000&cid=C3TPCAQG1
----
2021-02-04 16:32:00 UTC - Yevhen Sentiabov: While debugging, I see that for all 
mentioned above actions, the message content is `JsObject`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1612456320087600?thread_ts=1612406949.087000&cid=C3TPCAQG1
----
2021-02-04 17:51:46 UTC - Rodric Rabbah: the internal datas structure is always 
JSON Object
i am referring to the content type of the API request
in the first case, the content type is `text` in the other it’s `json object`
when it’s text, the value needs to be boxed so it’s boxed as `___ow__body`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1612461106087800?thread_ts=1612406949.087000&cid=C3TPCAQG1
----
2021-02-04 17:54:07 UTC - Yevhen Sentiabov: I’m more interested in internal 
data format
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1612461247088000?thread_ts=1612406949.087000&cid=C3TPCAQG1
----
2021-02-04 17:54:36 UTC - Rodric Rabbah: All openwhisk functions are JSON 
object in, JSON object out
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1612461276088200?thread_ts=1612406949.087000&cid=C3TPCAQG1
----
2021-02-04 17:55:21 UTC - Rodric Rabbah: and so if you’re looking through the 
code, you’ll see it’s a JSON object that carries the input which is 
communicated to the function as input.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1612461321088400?thread_ts=1612406949.087000&cid=C3TPCAQG1
----
2021-02-04 18:00:06 UTC - Yevhen Sentiabov: Yes I see that but in regard how 
action is called the request params are presented differently in activation 
message (in `__ow_body` or not). My question was more, is there any way how to 
get those params regardless how the action is invoked?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1612461606088600?thread_ts=1612406949.087000&cid=C3TPCAQG1
----
2021-02-04 18:04:01 UTC - Rodric Rabbah: don’t use the /api/v1/web/ endpoint - 
always use the POST /api/v1/namespaces/ endpoint. This requires that you only 
pass parameters that are JSON objects.
+1 : Yevhen Sentiabov
thankyou : Yevhen Sentiabov
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1612461841088800?thread_ts=1612406949.087000&cid=C3TPCAQG1
----
2021-02-04 20:37:26 UTC - Brendan Doyle: Is there any documentation on the 
performance of runc vs. containerd?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1612471046089600?thread_ts=1612471046.089600&cid=C3TPCAQG1
----

Reply via email to