1
0
mirror of https://github.com/actix/examples synced 2024-12-18 08:23:10 +01:00
examples/multipart/client.sh

12 lines
280 B
Bash
Raw Normal View History

2019-08-13 16:29:16 +02: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