nakabonne/ali

How to post diffrent data?

bamboo-cp3 opened this issue · 3 comments

ali -H "Accept: application/json" -H "Content-type: application/json" \ -m "POST" \ -b '{"name":"xxx"}'

now i want to send some diffrent data peer request, What shall I do?

@bamboo-cp3 Hi, tell me a little bit about what you want to do. Does it mean you want to send different content as a request body for each request?

Close for now. Feel free to re-open if you're still facing this issue.

Dgame commented

I would actually want this too. So that I have not the same Requests every time so that the response might differ and I really have a stress test like it would be if different users would use my API. Is this possible? Maybe a simplified version of this https://github.com/americanexpress/baton#requests-file