hurl/integration/tests/multipart_form_data.hurl
2020-10-11 17:31:09 +02:00

13 lines
348 B
Plaintext

# curl -v -F key1=value1 -F upload1=@tests/hello.txt -Fupload2=@tests/hello.html -Fupload3="@tests/hello.txt;type=text/html" http://localhost:8000/multipart-form-data
POST http://localhost:8000/multipart-form-data
[MultipartFormData]
key1: value1
upload1: file,hello.txt;
upload2: file,hello.html;
upload3: file,hello.txt; text/html
HTTP/* 200