tablewriter icon indicating copy to clipboard operation
tablewriter copied to clipboard

Generate HTML table

Open f1gjam opened this issue 4 years ago • 1 comments

Would be great to create a html table which as a endpoint associated with it

for example

/employee would give me a simple table with Employees (Firstname, surname, email)

i could generate a more detailed table on

/employee which gives me Employee data (Firstname, Surname, Date of Birth etc..)

Using the same structure as this lib provides and being able to choose text or html output

f1gjam avatar Apr 24 '20 22:04 f1gjam

I set the HTTP response header field Content-Type to "text/plain; charset=utf-8" and return the generated string, which can force the browser to display the table with the format, but in this case The browser cannot display the hyperlink (a tag) normally

aoxuely avatar Jun 14 '23 09:06 aoxuely