csantanapr edited a comment on issue #3919: Allow raw JSON string as response for webaction without base64 encoding. URL: https://github.com/apache/incubator-openwhisk/pull/3919#issuecomment-409033615 This is a feature request from an end user that is calling an external API, this API returns JSON as string, and the web action want to return it as is, without the extra penalty of going thru `JSON.parse()` For example this will work and not give an error by the controller ``` function main() { return { headers: { 'Content-Type': 'application/json' }, body: '{"foo":"bar"}' } } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
