From 351a8ba75519d18a8afe06f8a3a3f239f3a62a64 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 31 May 2024 21:22:00 +0100 Subject: 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. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 4a553c2..b4484d8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ bin/ .env resources/test.xlsm +tags -- cgit v1.2.3