I’m pleased to announce a cool feature we’ve added to the ‘Web Send’ module in Composable. Currently, in order to respond to web requests, users have the ability to wrap their apps with ‘Web Receive’ and ‘Web Send’ modules. Prior, apps could only return strings with a mimetype of ‘application/json’ or ‘text/html’.
But now, you can return any file that’s been generated by the application. Simply pipe the file reference into the response input, set the mimetype, and you’re in business!
Here’s an application that returns a KML file as the response. Ohh, you can also specify additional HTTP headers if you want too!
To execute the application’s web service, and get the KML, you can hit the apps listening url:
Latest posts by Lars Fiedler (see all)
- Integrating and Syncing Salesforce with Sql Server - November 16, 2017
- Migrating a FoxPro Database to 64 bit SQL Server - September 25, 2017
- Disabling MouseWheel Scroll Event on jQuery UI’s spinner control - June 21, 2017