- Simple .NET implementation of JavaScript fetch API.
- Package is on Nuget.
- Following (partially) the MDN specifications.
> Install-Package DotnetFetchusing DotnetFetch;
var result = await GlobalFetch.Fetch("https://jsonplaceholder.typicode.com/todos/1");
Console.WriteLine(result.Text());using DotnetFetch;
var result = await GlobalFetch.Fetch<string>("https://jsonplaceholder.typicode.com/todos/1");
Console.WriteLine(result);