when trying to resend a get request, an error occurs: System.Net.Http.HttpRequestException #1412
-
I call this function in the microcontroller's runtime loop if the LED was turned on or off. But without an error (System.Net.Http.HttpRequestException) this function only fires once. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The code looks legit. Can you try |
Beta Was this translation helpful? Give feedback.
-
Raised a PR with clarity on the doc. This discussion will then be closed automatically. |
Beta Was this translation helpful? Give feedback.
The code looks legit. Can you try
using HttpResponseMessage response = client.Get(apiUrl);
?