Returns the value of a specified HTTP header.
get(name)
name
The name of the HTTP header.
The value of the specified HTTP header or undefined if the header does not exist.
let headers = new Headers({ "content-type": "application/json" })
headers.get('Content-Type')
"application/json"