Hello google groupers, 

I'm currently building a utility to help me do some stuff on a state 
machine project i'm working on and as such, i need something that will take 
a csv file and send a single row at a time to a http endpoint. this tool 
will be used for testing the state machine and the data structures etc.. 

now, i'm looking at doing this in Angular for a nice lightweight 
application.. to be deployed to Heroku in the end.. 

So, my question is around how to get the file (from my desktop) into json 
and streamed to the endpoint. 

Can i read a file from a user, convert (with some node module like 
csvtojson) to json and then loop through that json array and transmit each 
row to the endpoint. Can this be done without saving the file to disk on 
the server? I'm trying to do it without saving to disk as i think that's 
the most elegant way for this utility.. 

i'm (obviously) pretty new to this js stuff, so i'm wondering about how 
this works.. 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to