Feature request: support "http(s) request" from raw requests file
From https://httpie.io/docs#offline-mode,
Generating raw requests that can be sent with any other client:
â–¶ RUN# 1. save a raw request to a file: $ http --offline POST httpbin.org/post hello=world > request.http â–¶ RUN# 2. send it over the wire with, for example, the fantastic netcat tool: $ nc httpbin.org 80 < request.http
Expected
one can run http < request.http or https < request.https to reproduce some results.
So something along the line of batch requests from a file? I see what you're thinking here, and it would be nice to have an automated way to make a lot of requests efficiently. I suppose this would also require a directory as an argument to have somewhere to store all the output because printing to stdout would probably be a bad idea with batch requests.
Actually duplicates #758
i would be willing to work on this if no is already working on it
Bonus for ability to add assertion capabilities so that entire test suites could be defined in .http files.