Posting Multiple Headers with Flurl

Viewed 7874

Hi I'm using Flurl and I need to set multiple headers for the post and the documentation on the site states to do await url.WithHeaders(new { h1 = "foo", h2 = "bar" }).GetJsonAsync();

I'm not sure what this means, what is H1, H2 ?

I'm trying to set Headers "API-VERSION:21" and "Authorization: askjdalksdjlaksjdlaksjd";

1 Answers
Related