diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-31 21:22:00 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-31 21:22:00 +0100 |
commit | 351a8ba75519d18a8afe06f8a3a3f239f3a62a64 (patch) | |
tree | e618e8f47f867b5afe3d86029b79c026a1cb6a67 /Makefile | |
parent | dce2b495b931f82fbb8d1ff71ef661d77817307c (diff) |
Can now parse a return XLSX file
We can now submit a datamap.csv and a single return xlsx file using
the following command, and get a Return JSON string back with the parsed date:
`curl -X POST -F "file=@./datamap.csv" -F "returnfile=@./resources/test_two_sheets.xlsm" \
-F "name=bobbins" -F "description=This is a long description of the datamap." \
http://localhost:5000/v1/return`
I have renamed the old test.xlsm file here to test_two_sheets.xlsm -
having remove a sheet from the test.xlsm. I did this to ensure that the
parsing handles multiple sheets which it does.
Still a fair amount of clearning up here but if you run the server and
send in this request, it works.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions