Open johan14 opened 3 years ago
Would love this feature as well!
Hopefully something in the lines of this, when sending a raw binData image:
echo "{\"method\": \"POST\", \"header\": {\"Content-Type\": [\"multipart/form-data\"] }, \"url\": \"<my-endpoint>\", \"binData\": \"@my-image.jpg\" }"
| vegeta -cpus=4 attack -duration=1s -rate=5 -max-connections=1 -max-workers=1 -format=json
Question
Hi guys! Can somebody help me sending an request with an image in local PC as multipart/formdata because I haven't found any solution till now.
Thank you!