1
0
mirror of https://github.com/actix/examples synced 2025-01-23 06:14:35 +01:00
examples/multipart/client.sh

12 lines
280 B
Bash
Raw Normal View History

2019-08-13 11:29:16 -03:00
#!/bin/bash
function SubmitFile () {
curl -X POST \
-H "Content-Type: multipart/related" \
--form "data=@example.png;type=image/png" http://localhost:8080
}
SubmitFile & SubmitFile & SubmitFile &
SubmitFile & SubmitFile & SubmitFile &
SubmitFile & SubmitFile & SubmitFile