Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust request get headers

let client = reqwest::blocking::Client::new();

let res = client.get("https://google.com")
.header("Accept-Language", "en-US")
.send().expect("Could not execute the request.");
 
PREVIOUS NEXT
Tagged: #rust #request #headers
ADD COMMENT
Topic
Name
4+1 =