"Content-Type" => "application/json", "X-Requested-With" => "YAHC", ] Will produce these request headers: Content-Type: application/json X-Requested-With: YAHC =head3 ho