OptionalbodyOptionalheadersExtra request headers.
OptionalmethodOptionalpathPath relative to the Endpoint root, e.g. "/hello". Segments are URL-encoded; . and .. are refused.
OptionalqueryQuery string values; an array repeats the key.
A string is sent as is; any other value is sent as JSON. Not allowed with
GETandHEAD.