i new http commands , apache bench, trying simple benchmark. had question how send json file usine httpie.
i saw old example used older cli this:
http --verbose post example.org file.json --content-type="application/json"
however, unsure how in httpie. know part:
http --verbose post example.org
would remain same. don't know how do:
file.json --content-type="application/json
in httpie
this simplest httpie command sending json file:
$ http example.org @file.json
https://github.com/jkbrzt/httpie#request-data-from-a-filename
Comments
Post a Comment