Add support for HTTP request body as file (#987)
* Add HTTP request body test
This commit adds a test for specifying a request body for HTTP probes.
Signed-off-by: Daniel Teunis <daniel@teunis.cc>
* Add support for HTTP request body as file
Resolves #391
Signed-off-by: Daniel Teunis <daniel@teunis.cc>
* Use io instead of io/ioutil
Signed-off-by: Marcelo Magallon <marcelo.magallon@gmail.com>
---------
Signed-off-by: Daniel Teunis <daniel@teunis.cc>
Signed-off-by: Marcelo Magallon <marcelo.magallon@gmail.com>
Co-authored-by: Marcelo Magallon <marcelo.magallon@gmail.com>