csantanapr commented 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 change will allow the following to work, this is a feature request from 
an user that is calling an external API, this API returns JSON as string, and 
the web action want to return it as is.
   
   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

Reply via email to