Adds support for the curl flag --data-binary by adding a data parameter to GET, POST, PUT, and PATCH requests. The data can be bytes or a path to a file containing bytes-typed data.
Also adds a Set SSL Verify keyword to allow changing the SSL verification after a library has been imported, so we don't need to import the library multiple times. The reason for this is that our requests need verification, but in order to get our certificate file we need to make one call without verification (chicken-egg problem).
Adds support for the curl flag
--data-binary
by adding adata
parameter to GET, POST, PUT, and PATCH requests. Thedata
can be bytes or a path to a file containing bytes-typed data.Also adds a
Set SSL Verify
keyword to allow changing the SSL verification after a library has been imported, so we don't need to import the library multiple times. The reason for this is that our requests need verification, but in order to get our certificate file we need to make one call without verification (chicken-egg problem).