Parse numbers from CSV file in javascript

 I currently have a solution that was built with Java script in the Scripting API, that is triggered by an HTTP request that makes calls to 5 different numbers.  What I would like to do is be able to use the same script for multiple groups/teams of numbers.  Maybe use a csv file for each group and load the numbers into the script via the csv file.  Maybe include the file name in the HTTP trigger or by incoming number?

Can Tropo load the numbers from a csv file with java?  If so is there an example out there somewhere?  I know there are examples for PHP but I am using Java so a java example would be best if possible. 

Or is there a better way to do this?

Any help and suggestion is appreciated!



Please sign in to leave a comment.