Skip to content

Test API with cURL

Benoit G. Regamey edited this page Jan 17, 2024 · 1 revision

HTTP POST files array with curl

curl -X POST -H "Content-Type:multipart/form-data" http://localhost:5000/api/validate \
-F "files=@test-files/0c6fda84-c7d9-4eb2-8ae2-e49598488c06.xml" \
-F "files=@test-files/multiple-xsd-errors.xml"

Clone this wiki locally