bvstone

BVSTools Now Offering Web Services (BETA)

Posted:

BVSTools Now Offering Web Services (BETA)

BVSTools is offering limited services to see if it's something that companies and individuals would be interested in.

These web services can be called from virtually any OS or system that can make a URL call (cURL, GETURI, HTTPAPI, Postman, etc) and can be called from RPG or any program that can use on of these types of web service calls.  

So far the services offered are:

  • MLTSVC1 - This is the "MAILTOOL" E-Mail Service which allows you to send simple emails using a web service instead of having to install email client software on your IBM i, [<tic>or worse, set up the IBM SMTP server</tic>. 

    More importantly, each client can be set up with your your very own configurations for things like from address, reply to address, mail router/server (ie, you can use GMail, Office 365, etc).  Basically anything that can be configured in MAILTOOL can be configured specifically for your web service account.  

    This service is actually built into the default Braintree Open Source module that we have put together.  And Example of using it with Node.js is included, and shown here:
    var submitData = JSON.stringify({key:"myservicekey", toAddress:[json array of recipients], subject:"email subject", message:"my message"});
      
      var options = {
        host: 'ws.bvstools.com',
        port: '80',
        path: '/webservice/mailtoolService',
        method: 'POST',
        headers: {
          'Content-Type': 'application/x-www-form-urlencoded '
        }
      };
      
      var req = http.request(options, function(httpReq) {
        var msg = '';
      
        httpReq.setEncoding('utf8');
        httpReq.on('data', function(chunk) {
          msg += chunk;
        });
        
        httpReq.on('end', function() {
          var jsonContent;  
          var success;
          var response;
          
          try {
            jsonContent = JSON.parse(msg);  
            success=jsonContent.success;
            response=jsonContent.response;
          } catch(e) {
            success='false';
            response='Error parsing response: ' + e;
          }
          
          writeDiagnostic(plist, "@@ Email success: " + success + ":" + response);    
        });
      });
      
      req.write(submitData);
      req.end();

     
  • REVPROXY1 - This is a Reverse Proxy Service that will allow you to make HTTPS requests over SSL to a remote server using simple HTTP requests from your local system.  This can come in handy if your system doesn't work with the latest SSL Ciphers.  Of course, this couldn't be used for anything with sensitive data or requests that require you follow standards (such as PCI for credit card transactions) since the proxy itself is over HTTP (non-secured).  

    The only real requirement is that the request is a GET or POST, and includes a custom HTTP header named REALURI that includes the "Real URI" that you wish to connect to (as well as passing along your service key in a custom header as well).

Pricing is yet to be determined, but most will be less than $300 a year for the service.  If we find that the service is heavily used we will most likely add a limit to how many service calls can be made per month, and bill additional for requests over that limit.  This is all new, so we're still looking at our options.

You may ask why these options are becoming available?  Well, working with clients and doing custom programming we've run into situations where using a service like this not only saved a lot of time and money, but were simply easier to implement, especially since in the background on our server, where the requests are made, our proven software (ie MAILTOOL and GETURI) are being used.

As always, feel free to contact us with any questions.

 

 


Last edited 04/03/2018 at 11:23:36



Latest Posts:

Update for Google WorkSpace Accounts (2024): Google Dropping Support for Update for Google WorkSpace Accounts (2024): Google Dropping Support for "Less Secure Apps" May 30th, 2022. What Does This Mean for Your IBM i Email?
Posted by January 19, 2024
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Sales By State Report in QuickBooks Online Sales By State Report in QuickBooks Online
Posted by January 13, 2024
QuickBooks >> QuickBooks Online
How to Whitelist GreenTools for G Suite (G4G) For Your Organization How to Whitelist GreenTools for G Suite (G4G) For Your Organization
Posted by November 5, 2023
BVSTools >> BVSTools Software Discussion >> GreenTools for G Suite (Google Apps) (G4G) Specific Discussion
QuickBooks Online Releases QuickBooks Online Releases "New Invoices!"... and It's Terrible!
Posted by October 8, 2023
QuickBooks >> QuickBooks Online
Admin/4i - What is it? Admin/4i - What is it?
Posted by September 30, 2023
Vendor Corner >> MSD Information Technology
BVSTools Releases Send Job Log to BVSTools (SNDLOG2BVS) Command BVSTools Releases Send Job Log to BVSTools (SNDLOG2BVS) Command
Posted by August 28, 2023
BVSTools >> BVSTools Announcements
MAILTOOL Now Allows Email Redirection for Development and Testing MAILTOOL Now Allows Email Redirection for Development and Testing
Posted by May 27, 2023
BVSTools >> BVSTools Announcements >> eMail Tool (MAILTOOL) Specific Announcements
GreenTools for Microsoft Apps (G4MS) Now Supports Footers When Sending Email GreenTools for Microsoft Apps (G4MS) Now Supports Footers When Sending Email
Posted by March 29, 2023
BVSTools >> BVSTools Announcements >> GreenTools for Microsoft Apps (G4MS) Specific Announcements
QuickBooks Online - Subtotals and Discounts Frustration QuickBooks Online - Subtotals and Discounts Frustration
Posted by March 16, 2023
QuickBooks >> QuickBooks Online
Making the Switch From QuickBooks Desktop to QuickBooks Online - No Picnic Making the Switch From QuickBooks Desktop to QuickBooks Online - No Picnic
Posted by March 16, 2023
QuickBooks >> QuickBooks Online
BVSTools Software Verified on V7R5 and Power10 BVSTools Software Verified on V7R5 and Power10
Posted by December 9, 2022
BVSTools >> BVSTools Announcements
Microsoft Office 365 Servers and Random Errors Issue Microsoft Office 365 Servers and Random Errors Issue
Posted by November 14, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Sending/Resending Emails Using a MIME File with MAILTOOL Sending/Resending Emails Using a MIME File with MAILTOOL
Posted by November 8, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Sending an HTML Email on Your IBM i Using MAILTOOL Sending an HTML Email on Your IBM i Using MAILTOOL
Posted by November 1, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Transferring License Keys from One System to Another Transferring License Keys from One System to Another
Posted by October 31, 2022
BVSTools >> BVSTools Software Discussion

Reply




© Copyright 1983-2020 BVSTools
GreenBoard(v3) Powered by the eRPG SDK, MAILTOOL Plus!, GreenTools for Google Apps, jQuery, jQuery UI, BlockUI, CKEditor and running on the IBM i (AKA AS/400, iSeries, System i).