0

I am wanting to take a table with n Columns and n Rows and make a CSV variable/string in which I can send through a HTTP Post.

I have only been able to find solutions to create a CSV File. But, i do not want to create a File, I just want to send the final result through a HTTP Post. I know how to do the HTTP Post, I just don't know how to get the CSV to a variable/string and send without creating a File.

5
  • Don't write to a file but keep the content in a variable instead. Commented Aug 22, 2019 at 20:23
  • I believe that's the part I'm not sure on doing, which is why I asked the question here. An example would be great! Commented Aug 22, 2019 at 20:49
  • 1
    Various approaches here: stackoverflow.com/questions/39597999/… Commented Aug 22, 2019 at 20:52
  • Thanks for the link! I'll go through those and see what i can come up with. It would be nice if someone has already produced a similar result. Commented Aug 22, 2019 at 20:57
  • Tim thanks for that link! That helped me get what i needed Commented Aug 23, 2019 at 21:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.