/**
 * Sends the HTTP request, optionally following redirections. Returns the request sent and response received and followed redirections, if any. The Mode is enforced when sending the request (and following redirections), custom manual requests are not allowed in 'Safe' mode nor in 'Protected' mode if out of scope.
*/
Sends the HTTP request, optionally following redirections. Returns the request sent and response received and followed redirections, if any. The Mode is enforced when sending the request (and following redirections), custom manual requests are not allowed in 'Safe' mode nor in 'Protected' mode if out of scope.
Sends the HTTP request optionally following redirections . Returns the request sent and response received and followed redirections if any . The Mode is enforced when sending the request ( and following redirections ) custom manual requests are not allowed in ' Safe ' mode nor in ' Protected ' mode if out of scope .
pub fn send_request(
    service: &ZapService,
    request: String,
    followredirects: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("request".to_string(), request);
    params.insert("followRedirects".to_string(), followredirects);
    super::call(service, "core", "action", "sendRequest", params)
}
pub fn send_request ( service : & ZapService , request : String , followredirects : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , request ) ; params . insert ( " " . to_string ( ) , followredirects ) ; super :: call ( service , " " , " " , " " , params ) }
Sends the HTTP request, optionally following redirections.
Sends the HTTP request optionally following redirections .
service
&ZapService
request
String
followredirects
String