GETTING STARTED
HTTP PROXY

For automation, transformation and own SSL.

There are times when you need to automate/schedule the running of a http process or transform a request/response between a http client and mydigitalstructure. 

You can also use this method to enable your own SSL certificate.

You could build a http proxy in many different ways; the following is just one method to get you started.

 

AWS Elastic Beanstalk
node.js
mydigitalstructure & nodejs
mydigitalstructure npm

 

   RESOURCES  
 
AWS Beanstalk The cloud service used to host the node.js instance.
node.js The programable Javascript platform.  In this example hosted as a service at AWS using Beanstalk.
node-http-proxy  A node based HTTP programmable proxying library that supports websockets. It is suitable for implementing components such as proxies and load balancers
node-schedule A cron-like and not-cron-like job scheduler for Node.
     
   USES      
       
 
A Included for reference, as most common use case.
B The proxy is working as transformation agent - typical uses including:
  • Creating your own api, including REST/HAL integration

  • Aligning the api to that of a client.
B-SSL As per B but with own SSL certificate.
C The proxy is using a scheduling service (like npm/node-schedule) to make calls to mydigitalstructure or another webservice; some typical use cases include:
  • Doing a search and then using the messaging endpoint to send emails based on data

  • Doing a search and updating a websockets channel

  • Querying another webservice and then making add/update calls to mydigitalstructure