Converting javascript fetch code to equivalent C# code

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • dirigera

    A TypeScript Node.js client for IKEA's DIRIGERA smart home hub

    Hi, I am trying to automate ikea dirigera and I found some code at dirigera/src at main · lpgera/dirigera · GitHub . The code is in Javascript and I was planning to convert it in C# and adding some more features on top of it. Currently, I am converting a function in this page dirigera/index.ts at main · lpgera/dirigera · GitHub . I managed to do so for the first http call and I obtained the code. However, I cannot seem to convert the second http call (access token) into equivalent call. This is my code.

  • Flurl.Http

    Fluent URL builder and testable HTTP client for .NET

    As far as your code goes, take a look at flurl ( It is oh so much cleaner and more readable than the httpclient stuff.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts