POST /api/v1/generator/xlsx/{filename} HTTP/1.1
Host: yudha.id
Content-Type: application/json
{
    "sheetname1": [
        ["Header 1", "Header 2"],
        ["Content A2", "Content B2"]
    ],
    "sheetname2": [
        ["Header Sheet2 - A", "Header Sheet2 - B", "Result"],
        [150, 100, "=A2+B2"]
    ]
}
HTTP/1.1 200 OK
transfer-encoding: chunked
content-disposition: attachment; filename="Excel Filename.xlsx"
content-type: application/octet-stream
 B i n a r y   d a t a 
HTTP/1.1 400 Bad Request
transfer-encoding: chunked
content-disposition: attachment; filename="error.txt"
content-type: application/octet-stream
sheet name `salah data` harus berupa multiarray.
format: {"sheetname1": [["header1", "header2"], ["row_a2", "row_b2"]]}
HTTP/1.1 400 Bad Request
transfer-encoding: chunked
content-disposition: attachment; filename="error.txt"
content-type: application/octet-stream
overflow. max size is 100K

stats . copyright © Yudha Rachmat Hidayat
2017 - 2025