getodk / pyxform-http

Other
4 stars 10 forks source link

Add external itemsets csv to response #8

Closed yanokwa closed 4 years ago

yanokwa commented 4 years ago

I've included a test/external-choices.xlsx file that I used for testing.

I've confirmed that if I run

curl --request POST --header "X-XlsForm-FormId-Fallback: pyxform-clean"  --header 'Transfer-Encoding: chunked' --data-binary @test/external-choices.xlsx http://127.0.0.1:5000/api/v1/convert

it returns the itemset data in itemsets.

And if I run

curl --request POST --header "X-XlsForm-FormId-Fallback: pyxform-clean" --header 'Transfer-Encoding: chunked' --data-binary @test/pyxform-clean.xlsx http://127.0.0.1:5000/api/v1/convert

it returns test/pyxform-clean.xlsx

Closes #7

yanokwa commented 4 years ago

Does this look OK to you, @lognaturel?