Closed jthomas closed 6 years ago
Hi James,
Thanks a lot for the correction.
I was confused, because if you call http get https://openwhisk.ng.bluemix.net/api/v1/web/james.thomas@uk.ibm.com_dev/default/swift-packages-dev-time.json X-Client-Id:SOME_CLIENT_ID
(with .json ending in url), you will get not interpreted JSON, the one with body
, headers
and statusCode
. Not sure is this a bug or a feature.
I found three tiny issues due to outdated documentation in Rob's blog post.
__ow_meta_verb
has been renamed to__ow_method
__ow_meta_headers
has been renamed to__ow_headers
X-Client-Id
->x-client-id
Invoking this web action with the correct header return the unix time values.
If I am missing the client header, it returns the 401.