You can just pass a hash representing an HTTP header to the request method. “Content-Type” => “application/x-www-form-urlencoded”.
You can just pass a hash representing an HTTP header to the request method. “Content-Type” => “application/x-www-form-urlencoded”.